Try using the onChange event on the select box.  Dunno why you're usi
ng the
onclick event.

-----Original Message-----
From: Brian Scandale [mailto:[EMAIL PROTECTED]]
Sent: February 9, 2002 2:57 AM
To: CF-Talk
Subject: <form troubles


Nothing is selected when this form loads until the user clicks inside
 theselect box. Then the form autosubmits via the onclic=

Problem is that This form submits a form.submit="DeleteType" even t
hough
they clicked on the select box, NOT the Submit Button.

This ONLY happens on a Mac running IE

I'm clueless as to why? Would appreciate any insight.

Code below:

-----
<form action="file.cfm" method="POST">
  <Select name="PT_ID" size="6" onclick="this.form.submit()">
    <option value="1">SomeItem</option>
    <option value="2">SomeOtherItem</option>
  </SELECT>
  <input type="Submit" name="Submit" value="DeleteType">
  <input type="Submit" name="Submit" value="EditType">
  <input type="Submit" name="Submit" value="Add Type">
</form>
-----

Thanks to anyone with a clue,
Brian
_____________________________________________________________________
_
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to