Hi Kwang,

Yes, that would work. However I was hoping to keep all the variables out of
 the url where they are more easily manipulated.


At 10:21 PM 2/9/02 -0700, you wrote:
>One way you could solve your problem is to not submit the form if the
>y use
>the select box.  Rather, do something like
>
>onClick="location.href='template.cfm?id='+this.value"
>
>Oh yeah, forget about the onChange thingy, didn't notice you had a si
>ze
>attribute on your select box :)
>
>-----Original Message-----
>From: Kwang Suh [mailto:[EMAIL PROTECTED]]
>Sent: February 9, 2002 10:10 PM
>To: CF-Talk
>Subject: RE: <form troubles
>
>
>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 oncl=
>
>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
>
>
______________________________________________________________________
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