Is there a way to call a method defined in a jQuery plugin directly in my script?
update
(function($){
$.fn.myPlugin = function (options) {
return this.each(function() {
function doSomething() {
// do something
}
function doSomethingElse() {
// do something else
}
doSomething();
doSomethingElse();
});
}
})(window.jQuery);
now i want to call doSomethingElse() from my script. Is there a way to do this?