ale1981 Posted July 6, 2007 Share Posted July 6, 2007 I have 2 functions at the top of my page, its probably not Javascript but my coding, I never usually code JS myself! <script type="text/VBScript" language="vbscript"> Sub confirmation(conf_message, conf_location, conf_title) conf_answer=MsgBox(conf_message, 292, conf_title) If conf_answer=6 Then window.location=conf_location End If End Sub </script> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> These scripts are at the top of my page, in the head section. The problem is, if I have the VBScript above the Javascript, the Javascript doesnt work, and vice-versa. Any ideas?? ??? Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted July 6, 2007 Share Posted July 6, 2007 Weird I think it is possible to have both vb scripts as javascripts running if I am correct you can even call a vb function with javascript. Do you get a error message? And is converting the VB to javascript an option? Quote Link to comment Share on other sites More sharing options...
ale1981 Posted July 6, 2007 Author Share Posted July 6, 2007 No errors appear, they just dont work! I cant convert the VB to javascript because javascript doesnt offer the same customisation as VB does with message boxes? Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted July 6, 2007 Share Posted July 6, 2007 Hmm i believe that the costumization only works for IE though so i wouldn't use it anyway I say screw IE Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.