#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    1
    Rep Power
    0
    Hi everyone,
    need urgent help...

    I am running a js-driven form with the following code and calling a php-script which need a special var to be set (view=):

    <a href="javascript:document.the_form.submit();" onClick="javascript:window.document.the_form.view.value=1;return true;">

    IE is handling all very nice, but not netscape. NS simply ignores my onClick.
    Can anyone tell me why and how to bypass this problem.

    The form has got several submit statements with each a different view-value.

    Thanks a lot for any response. It's driving me nuts already.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Posts
    84
    Rep Power
    15
    Try this:

    onClick="document.the_form.view.value=1;return true;">

    Spookster

Similar Threads

  1. netscape and percentages
    By miseria in forum HTML Programming
    Replies: 2
    Last Post: November 3rd, 2003, 09:19 AM
  2. onclick in Netscape not working
    By explore in forum HTML Programming
    Replies: 3
    Last Post: January 22nd, 2001, 09:29 PM
  3. onClick not working in Netscape
    By CanadianOTT in forum HTML Programming
    Replies: 1
    Last Post: August 24th, 2000, 06:47 AM
  4. input type=image onClick doesn't work in Netscape
    By tpchai in forum HTML Programming
    Replies: 1
    Last Post: August 8th, 2000, 01:04 PM
  5. drop down menu and onclick in Netscape
    By erinkw in forum HTML Programming
    Replies: 2
    Last Post: July 14th, 2000, 10:31 AM

IMN logo majestic logo threadwatch logo seochat tools logo