M
Martin Feuersteiner
Dear Group
I'm using VB to write an aspnet application. I would like to call a
javascript function from within a VB Sub or VB Function, is it possible? My
code is something like this:
VB Code:
Public Sub VBProcedure()
..
..
Run some VB Code...
..
..
Now call the javascript function
End Sub
------------------------------------------------------
Javascript:
<HEAD>
<script language=javascript>
<!--
// MyFunction
function myfunction() {
window.open()
}
//-->
</script>
</HEAD>
I tried javascript: myfunction() within the VB procedure. Well, it was just
a blind guess since the 'javascript:' syntax did not produce any errors.
What is 'javascript:' all about? I can't find it documented.
Thanks for your help & efforts!
Martin
I'm using VB to write an aspnet application. I would like to call a
javascript function from within a VB Sub or VB Function, is it possible? My
code is something like this:
VB Code:
Public Sub VBProcedure()
..
..
Run some VB Code...
..
..
Now call the javascript function
End Sub
------------------------------------------------------
Javascript:
<HEAD>
<script language=javascript>
<!--
// MyFunction
function myfunction() {
window.open()
}
//-->
</script>
</HEAD>
I tried javascript: myfunction() within the VB procedure. Well, it was just
a blind guess since the 'javascript:' syntax did not produce any errors.
What is 'javascript:' all about? I can't find it documented.
Thanks for your help & efforts!
Martin