I'm trying to do something like:
function xyz(id,name){
$(this).spin();
}
spin()
is a jquery plugin function (spinner box), but however I want to access the id and name parameter of javascript into spin()
. How can I do it without changing the spin()
prototype?