Re: NN6 and radio buttons
by John Starkey <jstarkey(at)advancecreations.com>
|
| Date: |
Thu, 21 Dec 2000 12:10:47 -0700 (MST) |
| To: |
Complex <complex_hwg(at)yahoo.com> |
| Cc: |
HWG Basics <hwg-basics(at)hwg.org> |
| In-Reply-To: |
yahoo |
| |
todo: View
Thread,
Original
|
|
www.advancecreations.com/blug/vote.php
It's doing it on my end. Would anyone mind checking for me? I'm using mac,
linux, but not Windoze. Both of the two above did the same thing. The top
one (radio button) is checked and get's submitted with the form.
Thanks,
John
On Thu, 21 Dec 2000, Complex wrote:
>
> --- John Starkey <jstarkey(at)advancecreations.com> wrote:
> > Anyone know what the attrib is to default to unchecked with radio
> > buttons. NN6 seems to check the first option by default.
> >
> > Thanks,
> >
> > John
> >
>
> The option you want is "checked", which sets the radio button to, well,
> checked.
>
> Three radio buttons, the second of which should be selected by default.
>
> < input type="radio" name="first" value="a">
> < input type="radio" checked
> name="first" value="b">
> < input type="radio" name="first" value="c">
>
> I tested this on NN 4.76 & 6, and IE 5, all for Macintosh. In all of
> them, _none_ of the radio buttons defaulted to selected (checked)
> unless I included the "checked" attribute in the HTML.
>
> Oh, yeah, you can see my test at
> http://www.scanalytics.com/webtest/radiotest.html (yeh, yeh, corporate
> site). Thanks, I hadn't played with radio buttons much recently.
>
>
> If this doesn't answer your question, please post a url or your HTML.
>
> hth,
>
>
> =====
> Michael Greisman
> Webmaster
> Scanalytics, Inc.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
HTML Guild: hwg-basics mailing list archives,
maintained by Web Professionals @ 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.