Call Interne function of a plugin with parameter
Hi
With your help, I understand how access to an internal function of my plugin.
jsfiddle
But now, How Can I do send parameter when I use
- $('#div1').BK("GetInfo");
Imagine I Want send "background" as parameter
I think It's close of my searches
Here My parameter is from plugin but I want parameter from outside
when I call
- $('#div').BK({ "GetNews": function (t) { alert(t); } });
If debugging is the art of removing bugs ... then program is the art of creating