VBScript Problem

G

Guest

I have a bit of a problem with my Internet Explorer that I hope someone can
help me with. I am finding right now that if I have an HTML form which also
has some VBScript embedded then it won't work. For instance, I have a form
which has several buttons on it which are used for navigational purposes.
Behind the scenes there is VBScript embedded within the page which is
supposed to kick in when one of the buttons is pressed. At present nothign
is happening. JavaScript appears to be working fine, just not VBScript.

I have checked the security settings and everything appears to be fine. The
form is on an internal website and so there are no restrictions. Scripts are
allowed to run and as JavaScript is working fine I can't think what else to
try.

If anyone has any thoughts I would be very grateful.

Many thanks
 
R

Rob Parsons

Hi Jack,

What are you scripting? The WebBrowser control? There is a new security
setting for XP to allow scripting of the Web Browser.

To debug your scripts place a msgbox somewhere in your code.

Also its good practice to also place <noscript> tags after your script block
to do something if the user has scripting disabled.

regards.
 
G

Guest

Hi

Thanks for answering. The script was just a simple little thing for
navigation. When a button was pressed it fired a "windows.location.href=..."
script to change the page. Anyway, kind of academic now anyway as I just
flattened my machine and rebuilt it. Again, many thanks anyway for answering.

Dougy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top