In Mainpage...html
<script type="script/javascript">
function SayHi()
{
alert("Oke.Hai..(waving)!")
}
</script>
and in xaml simpley thereis a button
<button name="Btn" width="100" content="Say 2!" Click="Btn_Click">
</button>
Then in the cs file within the button click event
HtmlPage.Window.Invoke(SayHi);
Yuyik, a runtime error "Unable to to invoke the method in in click event, Debug ?"
It's simple just that. Any help is appreciated.
typeshould betext/javascript, notscript/javascript.