Thanks,

 

That worked.  I had to change your single quote so it looked like this: ‘

 

FYI, OnChange does work inside and outside the SELECTEXTRAS attribute. I tried both Ben.

 

Ted

 


From: Christian Carrier [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 2:42 PM
To: [email protected]
Subject: RE: Witango-Talk: choicelist tag problem

 

Your on change looks wrong. OnChange should be something more like >window.arthouselocations.location='<@appfile>?_function=locations&a_arthouseid=’ + window.form1.a_arthouseidc.options[window.form1.a_arthouseidc.selectedIndex].value"

 

Regards,

Christian

 


From: Ted Wolfley [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 2:47 PM
To: [email protected]
Subject: Witango-Talk: choicelist tag problem

 

Hi,

 

I am trying to use the onChange attribute of the <@CHOICELIST> to capture the selected value and open a webpage in an iframe with the selected value as an argument.  The webpage opens but the value is not captured and not passed.  Has anyone know of a way to make this work.  I have tried various coding for the onChange, below is the latest with select statements it creates.

 

Ted

 

<@CHOICELIST NAME="a_arthouseidc" TYPE=SELECT OPTIONS="@@request$varthouses[*,2]" VALUES="@@request$varthouses[*,1]" SIZE=1 SELECTED="selectedValue" SELECTEXTRAS="ID='a_arthouseidc'" >"window.arthouselocations.location='<@appfile>?_function=locations&a_arthouseid=window.form1.a_arthouseidc.options[window.form1.a_arthouseidc.selectedIndex].value'"></td>

                                                          

 

 

<SELECT NAME=a_arthouseidc  return true;" SIZE=1 ID='a_arthouseidc'>

<OPTION VALUE=""></OPTION>

<OPTION VALUE="1">Abell</OPTION>

<OPTION VALUE="491">ADER</OPTION>

<OPTION VALUE="1369">Adjug'art</OPTION>

</select>

Ted Wolfley
Lead Internet and Database Programmer
The Ogden Group of Rochester
phone: (585) 321 1060 x23
fax: (585) 321 0043
[EMAIL PROTECTED]

www.ogdengroup.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to