SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy problems on Navigator with code

    hello to everyone
    I have problemes with the attached code - The "onclick" works on the Explorer but it ain't work on Navigator.
    can some one please help me?

    The code:
    <CENTER><A HREF="incubatortables.html" onclick="document.incubator_details.submit();">Send this information and go to next section</A></CENTER>

    and also:

    <CENTER><INPUT TYPE="Button" NAME="" VALUE="Submit and Reset" STYLE="font-size:16;font-weight:bold" onclick="document.company_details.submit();document.company_details.reset();"></CENTER>

    Thanks

  2. #2
    SitePoint Wizard Bill Posters's Avatar
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Which version of Netscape are you referring to?

    Fwiw, if it's version 6+ then you should be using:

    Code:
    document.forms['company_details']
    This version (W3C DOM) works in all modern browsers that support W3C standards including IE5+ and NN6+.
    New Plastic Arts: Visual Communication | DesignateOnline

    Mate went to NY and all he got me was this lousy signature

  3. #3
    SitePoint Member
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I'm not sure I'm understand

    You mean to do:

    Code:
     <CENTER><INPUT TYPE="Button" NAME="" VALUE="Submit and Reset" STYLE="font-size:16;font-weight:bold" onclick="document.forms['company_details'].submit();document.forms['company_details'].reset();"></CENTER>
    Because that doesn't work.

    Quote Originally Posted by Bill Posters
    Which version of Netscape are you referring to?

    Fwiw, if it's version 6+ then you should be using:

    Code:
     
    document.forms['company_details']
    This version (W3C DOM) works in all modern browsers that support W3C standards including IE5+ and NN6+.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •