Critter,

Both Netscape and IE (windows versions) do NOT submit a 'form.submit=""'
 element when clicking on the select box and having the
 onclick"this.form.submit" submit the form.

That's way cool because multiple Submit buttons can be trapped for which of
 several in the form were clicked to submit it... (in the windows browsers
 anyway).  In the example I gave there are four possible actions:
1. the select box was clicked
2. the DELETE button was clicked
3. the EDIT button was clicked
4. the ADD button was clicked

When I first tied this I expected the string you suggested but nope... the
 form.field="submit" does not even exist... 

This is cool don't you think? Except the weird behavior in the mac browser.

..just read another response... gonna have to check out his suggestions
 too.



At 05:46 AM 2/9/02 -0500, you wrote:
>oi Brian!!
>
>
>isn't that because form.submit is still a form element? I am suprised
>you are not getting a form.submit=DeleteType,EditType,Add Type ?
>
>-- 
>Best regards,
> 
>Critter [critz.org]
>
>
>-----------------------------------------
>Saturday, February 9, 2002, 4:57:05 AM, you wrote:
>
>BS> Nothing is selected when this form loads until the user clicks inside the select 
>box. Then the form autosubmits via the onclic=
>
>BS> Problem is that This form submits a form.submit="DeleteType" even
 though they clicked on the select box, NOT the Submit Button.
>
>BS> This ONLY happens on a Mac running IE
>
>BS> I'm clueless as to why? Would appreciate any insight.
>
>BS> Code below:
>
>BS> -----
>BS> <form action="file.cfm" method="POST"> 
>BS>   <Select name="PT_ID" size="6" onclick="this.form.submit()"> 
>BS>     <option value="1">SomeItem</option> 
>BS>     <option value="2">SomeOtherItem</option> 
>BS>   </SELECT> 
>BS>   <input type="Submit" name="Submit" value="DeleteType"> 
>BS>   <input type="Submit" name="Submit" value="EditType"> 
>BS>   <input type="Submit" name="Submit" value="Add Type"> 
>BS> </form>
>BS> -----
>
>BS> Thanks to anyone with a clue,
>BS> Brian
>BS> 
>
______________________________________________________________________
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