The OPTIONEXTRAS doesn't seem to work on mine either.  I tried a
copy&paste with the example from the documentation
(OPTIONEXTRAS='CLASS="fred"') into your code - no CLASS=FRED attribute
showed up in View Source.

May not solve your coding problem, but at least you know you're not
crazy.  :)  


I've used <@ROWS> around an <OPTION> set before when I couldn't use
<@CHOICELIST> for some reason; maybe that would work for you.

<SELECT NAME="<@ARG _function>">
<@ROWS ARRAY=resultArray>
<OPTION VALUE="<@COL NUM=1>" onDblClick="Lookup.submit()"><@COL
NUM=2></OPTION>
</@ROWS>
</SELECT>

or something thereabouts; that's from memory so check it before you use
it.

Hope that helps!     j


> -----Original Message-----
> From: Ben Johansen [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 13, 2003 12:29 PM
> To: 'WiTango List'
> Subject: Witango-Talk: Optionextras???
> 
> 
> 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.selected
> Index].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
> 

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

Reply via email to