[RESOLVED] No VBScript code working (browser scripting is enabled)...
Code:
<html>
<head>
<title>Site under maintenance</title>
</head>
<script type="text/vbscript"><!--
Msgbox "test"
// --></script>
<frameset rows="1,*" frameborder=0 framespacing=0 border=0>
<frame name="alpha" src="about:blank">
<frame name="beta" src="about:blank">
</frameset>
<noframes>
<body>Your browser does not support frames.</body>
</noframes>
</html>
The msgbox won't appear in either of the browsers I use (Chrome & Firefox). :confused::confused::confused:
Re: Simple msgbox won't appear
For troubleshooting I tried to run this code on both browsers:
Code:
<html>
<head>
<title>Site under maintenance</title>
</head>
<script language="VBScript">
Msgbox "test"
</script>
<body>dfhsghfgjgdjsdfjvbj</body>
</html>
No msgbox... No errors... No idea why.
So next I tried this:
Code:
<html>
<head>
<title>Site under maintenance</title>
</head>
<body>dfhsghfgjgdjsdfjvbj
<script language="VBScript">
A = 1
A = A + 2
document.write(A)
</script>
</body>
<script type="text/vbscript">
A = A + 2
document.write(A)
</script>
</html>
Nothing, again... No numbers on the screen and no error messages.
Code:
<html>
<body>
<script type="text/vbscript">
document.write("Hello World")
</script>
</body>
</html>
Even this did nothing. Why in the #$&@ is nothing working?!
EDIT: Scripting is enabled in both browsers and javascript works fine. But no VBScript is working at all...
Re: No VBScript code working (browser scripting is enabled)...
I downloaded IE8, and oddly enough all the code ran like it should... Both Google Chrome and Mozilla Firefox won't run any of the code. Any idea why this could be?
Re: No VBScript code working (browser scripting is enabled)...
Sure... IE is the ONLY browser that supports VBScript client side....
-tg
Re: No VBScript code working (browser scripting is enabled)...
That's ridiculous. It pretty much takes VBScript off the table when looking for coding solutions to problems (if accessibility is an issue at all)...
Talk about disappointing.
Re: No VBScript code working (browser scripting is enabled)...
Why do you think 99% of all client side scripting is Javascript?
-tg