By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,948 Members | 1,929 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,948 IT Pros & Developers. It's quick & easy.

Webbrower control calling script functions inside the url

P: n/a
Hi

I am trying to call a javascript function inside a htmlpage opened in the
WebBrowser control without sucses.

I tried to iterate through the HtmlItem collection and called the
InvokeMember("myfunction");

The function works when i have an internal link that calls the function when
clicked.

What am i doing wrong ?

Johan

<SCRIPT LANGUAGE="JavaScript" FOR="window">
<!--

function () {
// my code here
}
//-->
</SCRIPT>
...
Apr 18 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.