|
-
Sep 5th, 2009, 02:58 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] No VBScript code working (browser scripting is enabled)...
Last edited by deathfxu; Sep 5th, 2009 at 04:29 PM.
-
Sep 5th, 2009, 03:54 PM
#2
Thread Starter
Hyperactive Member
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...
Last edited by deathfxu; Sep 5th, 2009 at 04:17 PM.
-
Sep 5th, 2009, 04:57 PM
#3
Thread Starter
Hyperactive Member
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?
-
Sep 5th, 2009, 05:30 PM
#4
Re: No VBScript code working (browser scripting is enabled)...
Sure... IE is the ONLY browser that supports VBScript client side....
-tg
-
Sep 7th, 2009, 04:48 PM
#5
Thread Starter
Hyperactive Member
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.
-
Sep 7th, 2009, 07:15 PM
#6
Re: No VBScript code working (browser scripting is enabled)...
Why do you think 99% of all client side scripting is Javascript?
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|