> But It's the callback bit I cant seem to
> fathom. I need to be able to do something on the lines of (this is
> pseudocode):
>
> var myRemoteScript = CmdUtils.injectJavascript( "http://xyz/script.js"; );
> var myRemoteObject = myRemoteScript.MyObject;
> myRemoteObject.a( some_params );

Try something like:

CmdUtils.injectJavascript( "http://xyz/script.js";, function
myremotescript() {
  var myRemoteObject = myRemoteScript.MyObject;
  myRemoteObject.a(some_params);
});
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to