Hi there,
I have a custom plugin, with a constructor like this:
(function($){
$.fn.extend({
myplugin: function(options) {
[..]
In the plugin, I have a bunch of other functions. Now I attach my plugin to a dom-element:
$('myelement').myplugin()
and after that I want to send a message to the plugin from the wrapping document. Basically, I want to call the internal function with custom parameters from outside. How can I achieve this?
Thanks a lot.