It's been around since T2K days when @CHOICELIST came into being. In this case it is against a T2K Server, haven't tested against W5
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 -----Original Message----- From: Atrix Wolfe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:07 PM To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: Optionextras??? II thats a neat feature ben, is this something new to wt5 or has it been around for a while? ----- Original Message ----- From: "Ben Johansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 1:43 PM Subject: RE: Witango-Talk: Optionextras??? II > Hi All, > > I changed it to > > SELECTEXTRAS='onDblClick="Lookup.Submit.click()"' > > Works just fine now... > > 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 > > > -----Original Message----- > From: Wilcox, Jamileh [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 11:01 AM > To: [EMAIL PROTECTED] > Subject: RE: Witango-Talk: Optionextras??? > > 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 > > ________________________________________________________________________ > 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 ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
