i want call function in plugin.
i overloaded function want call function it.
$("myselector").myplugin({ my_function : function (){ *do stuf* function_from_the_plugin(); } });
an error appears says "unknown function". think not search function in plugin outside. know how can do?
i try "this", variable corresponding plugin object.
if have idea please share me.
thank reading post.
add this.function_from_the_plugin(); in code myplugin() initialized.
Comments
Post a Comment