[jQuery] Plugin Authoring : How to keep plugin state?
e.g.
jQuery.fn.debug = function() {
// i want to save the current time into a global variable?
return this.each(function(){
alert(this);
});
};
I want save the time of the last plugin being executed for later use,
any recommened method?
thanks.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/