views:

38

answers:

0

Hi, I'm making a plugin and one of the options is a standard callback. I want the user to be able to re-run the jQuery plugin's this.each() which basically re-runs the plugin, for example;

callback: function(){
    // some code to rerun the plugin here after 10 seconds
}

I know I can do this like so: $(this).plugin_name(); but it won't contain any of the options I've specified.

Any help would be appreciated.