Netscape radiobutton Problem

Results 1 to 2 of 2

Thread: Netscape radiobutton Problem

  1. #1
    Join Date
    Dec 1969

    Default Netscape radiobutton Problem

    Hi!<BR>I&#039;m DBA and my experience in JavaScript and VBScript is not enough to solve my problem.<BR>There is asp page which collects information and based on selection redirects to Result1.asp or Result2.asp.<BR>There are 2 radiobutons (rbtn) - They are outside form1.<BR>&#060;form name="form1" method="get" onSubmit="this.action=<BR>(rbtn[0].checked?&#039;Result1.asp&#039;:&#039;Result2.asp &#039;);return true;"<BR>This Code works fine in IE5+, but in Netscape6 it loads current page.<BR>How to fix this?<BR>Thanx in advance for any help.

  2. #2
    Join Date
    Dec 1969

    Default RE: Netscape radiobutton Problem

    I&#039;ve got a feeling that Netscape likes everything in it&#039;s place - so it would want the radio buttons to be inside the form. If you move them to within the form and then change the form tag to read:<BR><BR>&#060;form name="form1" method="get" onSubmit="this.action=<BR>(document.form1.rbtn.che cked?&#039;Result1.asp&#039;:&#039;Result2.asp&#03 9;);return true;"&#062;

Posting Permissions

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