JAVASCRIPT 1.2 BROKEN ON WIN XP IE6

Discussion in 'Javascript' started by Joe Koziatek, Apr 12, 2005.

  1. Joe Koziatek

    Joe Koziatek Guest

    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
     
    Joe Koziatek, Apr 12, 2005
    #1
    1. Advertising

  2. Joe Koziatek wrote:

    > -------------------------------
    > <!DOCTYPE html PUBLIC "-//W5C//DTD HTML 4.0 Transitional//EN


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

    > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    .... 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?

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is
     
    David Dorward, Apr 12, 2005
    #2
    1. Advertising

  3. Joe Koziatek

    Gary Besta Guest

    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]


    David Dorward <> wrote in message news:<d3hf6i$9u6$1$>...
    > Joe Koziatek wrote:
    >
    > > -------------------------------
    > > <!DOCTYPE html PUBLIC "-//W5C//DTD HTML 4.0 Transitional//EN

    >
    > This says HTML 4.0 Transitional (which was replaced with 4.01 Transitional
    > before the turn of the millennium)...
    >
    > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    >
    > ... 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?
     
    Gary Besta, Apr 13, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ivor O'Connor
    Replies:
    4
    Views:
    873
    Isofarro
    Nov 25, 2003
  2. Peter Mount
    Replies:
    4
    Views:
    975
    Peter Mount
    Jan 31, 2006
  3. Krist
    Replies:
    6
    Views:
    768
    Arne Vajhøj
    May 7, 2010
  4. Pugi!
    Replies:
    0
    Views:
    246
    Pugi!
    Feb 5, 2007
  5. timothytoe
    Replies:
    4
    Views:
    166
Loading...

Share This Page