|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello
Can anybody help me with this. I have a javascript which is working in IE and not in Netscape. It is on Click which is supposed to switch a radio button when you click on a coressponding field. .. function changeRadio1() { form1.AddressFlag[0].checked= true; } ...<input type="radio" name="AddressFlag" value="1" checked<TLIF><TLCOND><TLVAR Name="AddressFlag" > == "1"</TLCOND>checked</TLIF>> </td> <td width="209"> Use preferred address </td> <td width="212"> <input type="type" name="AB_Default_Name" value="<TLVAR Name=DefaultABAddress[0].Address_Book_Name>" onClick="changeRadio1()" onFocus="this.blur()"> Thanks a lot |
|
#2
|
||||
|
||||
|
Hi Canadian - you code confuses me a little - but that is nothing new! - however remember in netscape you have to be explicit when referencing objects of any kind ie:
<form name=bella> <input type=text name=rosa> </form> would be referenced in NS as document.bella.rosa.value and if the form was in a <div id="divname"></div> you then need to address it so- document.divname.document.bella.rosa.value hope that helps. ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > onClick not working in Netscape |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|