return object from plugin
return object from plugin
How do you design a plugin such that it returns an object after initialization?
var myObj = $("selector").myPluging();
// do something with myObj
Topic Participants
slenzi