zdravim, mam nasledujici kod:
WebBrowser1.Document.GetElementById("grafickuj").SetAttribute("onclick", "alert('ahoj')")
baf = WebBrowser1.Document.Body.InnerHtml
WebBrowser1.Document.GetElementById("grafickuj").RaiseEvent("onclick")
potrebuju spustit tu script funkci (onclick) v promene baf(pouze pro ucely hledani chyb) je ulozeno:
" <SCRIPT src="http://code.highcharts.com/highcharts.js"></SCRIPT> <SCRIPT src="http://code.highcharts.com/modules/exporting.js"></SCRIPT> <DIV id=container class=obsah></DIV> <DIV id=grafickuj onclick="alert('ahoj')">buu</DIV>"
ale po raiseevent se nic nestane. Poradi nekdo?
|