Javascript not executing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a login page which accepts userid and password; which when accessed
calls a function on click of Submit button.
This function is not getting invoked from my system IE (6.0.2800.1106 - SP1)
while when a coleague of mine logs in using this login page, the function
gets invoked. My coleague also has IE6 but a higher hotfix.
 
1. You might want to refresh your scripting engine:
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
or
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
Windows Script 5.6 for Windows 2000 and XP
http://www.microsoft.com/downloads/...43-7e4b-4622-86eb-95a22b832caa&DisplayLang=en

Sometimes there's a corrupt file in the cache and one must go to Tools |
Internet Options and click Delete Files.

2a. Start>Run>Regsvr32 vbscript.dll

2b. Start>Run>Regsvr32 jscript.dll

3. Re-register all DLLs listed in http://support.microsoft.com/kb/281679
also see http://support.microsoft.com/kb/831429

4. See also
Error Message When You Browse the Web: An Error Has Occurred in the Script
on This Page
http://support.microsoft.com/kb/306831
Scripting Errors When You View Web Pages in Internet Explorer after
Installing Office 2003
http://support.microsoft.com/kb/822521

5a. IE Tools>Internet Options>Advanced>Browsing>Enable third-party browser
extensions (uncheck & reboot).

5b. Find the hijacker that caused 5a to be checked (or if none were checked,
check for hijackware anyway):

Dealing with Hijackware
http://mvps.org/winhelp2002/unwanted.htm
http://aumha.org/a/parasite.htm

How to Troubleshoot Script Errors in Internet Explorer
http://support.microsoft.com/kb/308260

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
Frank,
The condition is

From my system my development website scripts are not getting executed while
all other site scripts are getting executed. The same code lies in different
environments
and it gets executed properly. Conclusion: The scripting engine is fine and
the dll's are registered propely

While the script in of development website gets executed from my coleagues
system. Concolusion: The development environment is not the issue as it works
on some systems.

Please do let me know how can I see what IE does when I try to invoke Java
script.

I tried debugging the script by putting alerts, but the function was never
inovked and no alert appered. This method I have tried on Body "onLoad" and
"onSubmit" of button.
Thanks,
 
In Tools | Internet | Options | Security have you checked the scripting
settings?
 
Frank,

In the current development environment I do not have rights to view the
settings, I am checking the SA team for that.
Still one question remains, Can these setting for scripts be so that they
will not allow script from one particular website!

Let me know if I can provide you some more input in any manner on this.

Thanks,
 
Bhaskar said:
Frank,

In the current development environment I do not have rights to view
the settings, I am checking the SA team for that.
Still one question remains, Can these setting for scripts be so that
they will not allow script from one particular website!

Let me know if I can provide you some more input in any manner on
this.

Thanks,

Only if someone has added that site to the Restricted zone.

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
Frank,

The issue is reolved. somehow my SA's had changed the setting of some IE
installations to have my development website as restricted, which was not
allowing the javascripts to get executed.

Now I have got it corrected.

Thanks for the help.
 
Bhaskar said:
Frank,

The issue is reolved. somehow my SA's had changed the setting of some
IE installations to have my development website as restricted, which
was not allowing the javascripts to get executed.

Now I have got it corrected.

Thanks for the help.

Glad it's fixed.

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
Back
Top