Javascript - SELCT Box

Results 1 to 3 of 3

Thread: Javascript - SELCT Box

  1. #1
    Nathan Masek Guest

    Default Javascript - SELCT Box

    Can you SUBMIT a form with a SELESCT (Drop-down) box) <BR>By using the onChange event?<BR><BR>- Thanks<BR>- Nathan Masek

  2. #2
    Join Date
    Dec 1969

    Default RE: Javascript - SELCT Box


  3. #3
    Johnny Hughes Guest

    Default RE: Javascript - SELCT Box

    The above code<BR><BR>onchange="document.forms[&#039;formName&#039;].submit();"<BR><BR>works great... BUT only if there is not a Button (or other object) named submit also on the form.<BR><BR>I bring this up because it took me a week to figure out why I was getting and &#039;Option not supported on this Object&#039; error.<BR><BR>If you wanted to keep the button on the form you could use this instead:<BR><BR>onchange="document.forms[&#039;formName&#039;];"

Posting Permissions

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