checked attribute

by Kate Katzban-Beren <Katekat(at)wi-easterseals.org>

 Date:  Wed, 5 Apr 2000 10:46:16 -0500
 To:  "'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
I am trying to set defaults for a form I am working on, where one box is
checked when the page is loaded.  This is more for accessibility purposes
than anything else.  Anyway, when I load the page in IE the boxes are
checked, but when I view it in Netscape they aren't.  Does Netscape not
support the checked attribute or am I doing something wrong?

Here's a sample of the code:

<p>
What is the camper's heritage? (This information is used for statistical
purposes only.)
<br>
<input type="radio" name="heritage" value="African American"
checked="checked"> African American  <input type="radio" name="heritage"
value="Asian">  Asian  <input type="radio" name="heritage"
value="Caucasion">  Caucasian  <input type="radio" name="heritage"
value="Hispanic"> Hispanic  <input type="radio" name="heritage"
value="Native American"> Native American  <input type="radio"
name="heritage" value="other"> Other

Thanks,
Kate

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.