HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 23rd, 2000, 11:03 AM
CanadianOTT CanadianOTT is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 1 CanadianOTT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old August 24th, 2000, 06:47 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > onClick not working in Netscape


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway