S
scott
Hello all,
I created some javascipt triggered by an onclick that will display a
section based on a toggle switch. Please view
https://chimatravel.net/travel_auth.cfm and look all the way down at
the bottom at Multiple Cities. If you select on YES, a field should be
displayed below that allows you to enter how many cities.
For some reason it is not working in safari, but works in every other
browser (even Konqueror in Linux). Here is the code....
<tr>
<td align="right" vAlign="center" width="220"><font
face="Verdana" size="2" color="red">*</font><font face="Verdana"
size="2" color="0000FF">Multiple Cities?:</font></td>
<td vAlign="center" width="388" align="left"><font
face="Verdana" size="2" color="0000FF">
Yes: <input type="radio" name="multiple" <cfif
#URL.travel_id# neq ""><cfif #trim(get.multiple)# eq
"YES">checked</cfif></cfif>
onclick="document.all.displaymultiple.style.display ='';" value="YES">
No: <input type="radio" name="multiple" <cfif
#URL.travel_id# neq ""><cfif #trim(get.multiple)# eq
"NO">checked</cfif><cfelse>checked</cfif>
onclick="document.all.displaymultiple.style.display='none';"
value="NO">
</td>
</tr>
<tr id="displaymultiple" style="display:none">
<td align="right" vAlign="center" width="220"><font
face="Verdana" size="2" color="red">*</font><font face="Verdana"
size="2" color="0000FF">How many Cities?:</font></td>
<td vAlign="center" width="388" align="left"><font
face="Verdana" size="2" color="0000FF"><input style="font-size:10px"
name="number_cities" value="<cfif #URL.travel_id# neq
"">#get.number_cities#</cfif>" size="51"></td>
</tr>
This is driving me crazy. Has anyone ever see something like this??
Thanks
I created some javascipt triggered by an onclick that will display a
section based on a toggle switch. Please view
https://chimatravel.net/travel_auth.cfm and look all the way down at
the bottom at Multiple Cities. If you select on YES, a field should be
displayed below that allows you to enter how many cities.
For some reason it is not working in safari, but works in every other
browser (even Konqueror in Linux). Here is the code....
<tr>
<td align="right" vAlign="center" width="220"><font
face="Verdana" size="2" color="red">*</font><font face="Verdana"
size="2" color="0000FF">Multiple Cities?:</font></td>
<td vAlign="center" width="388" align="left"><font
face="Verdana" size="2" color="0000FF">
Yes: <input type="radio" name="multiple" <cfif
#URL.travel_id# neq ""><cfif #trim(get.multiple)# eq
"YES">checked</cfif></cfif>
onclick="document.all.displaymultiple.style.display ='';" value="YES">
No: <input type="radio" name="multiple" <cfif
#URL.travel_id# neq ""><cfif #trim(get.multiple)# eq
"NO">checked</cfif><cfelse>checked</cfif>
onclick="document.all.displaymultiple.style.display='none';"
value="NO">
</td>
</tr>
<tr id="displaymultiple" style="display:none">
<td align="right" vAlign="center" width="220"><font
face="Verdana" size="2" color="red">*</font><font face="Verdana"
size="2" color="0000FF">How many Cities?:</font></td>
<td vAlign="center" width="388" align="left"><font
face="Verdana" size="2" color="0000FF"><input style="font-size:10px"
name="number_cities" value="<cfif #URL.travel_id# neq
"">#get.number_cities#</cfif>" size="51"></td>
</tr>
This is driving me crazy. Has anyone ever see something like this??
Thanks