I've read about how to obtain a handle on DOM elements. This was a very helpful link: http://forums.mozillazine.org/viewtopic.php?f=27&t=1521545
My question now is, can I get a handle on a Javascript var/object I've created, or arbitrary functions?
On page load, i have a script executing something like this...
var controller = new Controller()
or
function callme(param1, param2) { ... }
now, from within my plugin, I want to be able to call methods from my controller object. OR, execute that function callme. Is this possible and how would I go about doing this?
Thanks,
Chris