JAVASCRIPT 1.2 BROKEN ON WIN XP IE6

J

Joe Koziatek

My IE6 runs Javascript1.3 but not Javascript1.2

My Windows Version is: Version 5.1 (Build 2600.xpsp_sp2_rtm
040803-2158
My IE6 Version is: Version 6.0.2900.2180.xpsp-sp2_rtm 040803-2158

In the following html, if I change the 1.2 to 1.3 it works ( I get the
popup hello..)

-------------------------------
<!DOCTYPE html PUBLIC "-//W5C//DTD HTML 4.0 Transitional//EN
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML>
<HEAD>
<SCRIPT language='JavaScript1.2'>
alert('Hello..');
</SCRIPT>
</HEAD>

<BODY>
<p> This is a test html page.. </p>
</BODY>
</HTML>
---------------------------------

I was experiencing difficulties installing the Java 2 Plugin for
applets and I may have deleted some registry keys containing the word
"Java". This is when I noticed that JavaScript1.2 was broken in IE6.
In trying to solve the problem, I uninstalled, then reinstalled WinXP
Service Pack 2, then did Windows Update. It did not fix it. I also
removed registry keys containing "internet explorer" and tried
deleting the "C:\Program Files\Internet Explorer" directory so I could
run ie6setup.exe . The contents of "c:\Program Files\Internet
Explorer" is listed herein.

Does anyone have any advice as to how to reinstall IE6 to get the
registry keys back to original state? It just will not run
JavaScript1.2 . The HTML above does not even generate a JavaScript
error when script debugging is checked, it just seems to be ignored..
I found a web-site that reveals browser capabilities and it show that
my IE6 supports JavaScript1.3 , but isn't 1.2 downward compatible?
Prior to this, it was working with SP2 before I reinstalled.. My gut
feeling is that I disturbed the registry..

Any help is greatly appreciated!

Joe Koziatek
Developer


######################################################
## Directory of c:\Program Files\Internet Explorer ##
######################################################

04/12/2005 04:55 PM <DIR> .
04/12/2005 04:55 PM <DIR> ..
04/11/2005 05:29 PM <DIR> Connection Wizard
08/04/2004 12:56 AM 38,912 hmmapi.dll
08/04/2004 03:56 AM 18,432 iedw.exe
08/04/2004 12:56 AM 93,184 iexplore.exe
08/29/2002 07:00 AM 91,136 iexplore.exe.tmp
04/12/2005 04:55 PM 0 out
04/12/2005 09:36 AM <DIR> SIGNUP
5 File(s) 241,664 bytes

Directory of c:\Program Files\Internet Explorer\Connection Wizard

04/11/2005 05:29 PM <DIR> .
04/11/2005 05:29 PM <DIR> ..
08/04/2004 12:56 AM 61,440 icwconn.dll
08/04/2004 12:56 AM 214,528 icwconn1.exe
08/04/2004 12:56 AM 86,016 icwconn2.exe
08/04/2004 12:56 AM 32,768 icwdl.dll
08/04/2004 12:56 AM 172,032 icwhelp.dll
08/29/2002 07:00 AM 61,440 icwres.dll
08/04/2004 12:56 AM 24,576 icwrmind.exe
08/29/2002 07:00 AM 73,728 icwtutor.exe
08/04/2004 12:56 AM 49,152 icwutil.dll
08/04/2004 12:56 AM 20,480 inetwiz.exe
08/29/2002 07:00 AM 16,384 isignup.exe
08/29/2002 07:00 AM 40,960 trialoc.dll
12 File(s) 853,504 bytes

Directory of c:\Program Files\Internet Explorer\SIGNUP

04/12/2005 09:36 AM <DIR> .
04/12/2005 09:36 AM <DIR> ..
09/03/2002 03:40 PM 1,363 INSTALL.INS
1 File(s) 1,363 bytes

Total Files Listed:
18 File(s) 1,096,531 bytes
8 Dir(s) 12,749,352,960 bytes free
 
D

David Dorward

This says HTML 4.0 Transitional (which was replaced with 4.01 Transitional
before the turn of the millennium)...

.... but this claims XHTML 1.0 Transitional. You might want to make your mind
up. (HTML 4.01 Strict is usually the most suitable choice for documents
written today).

http://www.w3.org/QA/2002/04/valid-dtd-list.html
<SCRIPT language='JavaScript1.2'>

In both HTML 4.0 and XHTML 1.0, the language attribute is deprecated and the
type attribute is required.
I was experiencing difficulties installing the Java 2 Plugin for
applets and I may have deleted some registry keys containing the word
"Java". This is when I noticed that JavaScript1.2 was broken in IE6.
In trying to solve the problem, I uninstalled, then reinstalled WinXP
Service Pack 2, then did Windows Update. It did not fix it. I also
removed registry keys containing "internet explorer" and tried
deleting the "C:\Program Files\Internet Explorer" directory so I could
run ie6setup.exe . The contents of "c:\Program Files\Internet
Explorer" is listed herein.

Oh boy.
Does anyone have any advice as to how to reinstall IE6 to get the
registry keys back to original state?

Restore the backup you took of the registry before you started hacking away
at it?

Use the System Restore feature of Windows XP?

Reinstall Windows?
 
G

Gary Besta

Try adding. You may need to change the class id but you can use the
same one as Javascript1.3


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2]
@="JScript Language"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2\CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2\OLEScript]

[HKEY_CLASSES_ROOT\JavaScript1.2]
@="JScript Language"

[HKEY_CLASSES_ROOT\JavaScript1.2\CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"

[HKEY_CLASSES_ROOT\JavaScript1.2\OLEScript]
 

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

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top