Hi All

Ok baffled here :-b

I want to have the double click event in a SELECT box so that the user
can just double click on the item and go.
So I added OPTIONEXTRAS='onDblClick="Lookup.submit()"' to the
@CHOICELIST

When I run it I DO NOT get " onDblClick="Lookup.submit()" in each
<option>?
I guess this could be done another way, just thought it was funny

<FORM NAME="Lookup" METHOD=POST
onSubmit="returnValue(this.Svalue.options[this.Svalue.selectedIndex].val

ue);">
Select <@ARG _function>: <@CHOICELIST NAME="Svalue" TYPE=SELECT 
OPTIONS="@@ResultArray[*,2]" VALUES="@@ResultArray[*,1]" SIZE=5 
OPTIONEXTRAS='onDblClick="Lookup.submit()"'>
<P>
<INPUT TYPE=SUBMIT NAME="Submit" VALUE="Accept">
<INPUT TYPE=RESET VALUE=Reset>
<INPUT TYPE=BUTTON VALUE=Back onClick="goback();">
</FORM>

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm



________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to