3. How do I call Javascript from my embedding code?

The JavaScript you want to call has to be an XPCOM component, usually (unless you want to call the JS engine on literal strings by hand...)

Actually, I figured it out. I just call xxx->LoadURI("javascript:...") and this works fine. It was so easy I never thought to do it. Perhaps this is what you are referring to above.


-elan

_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to