Can you access a vbscript from a Javascript program.
Code:<script type="text/vbscript"> function fn1() msgbox("Over the Limit") end function </script> <script type="text/javascript"> function month(){ var m=Number(window.document.myform.mo.value); if (m>12){ "call fn1 to display msgbox; "exit function month; } } </script>



Reply With Quote

Bookmarks