|
-
Sep 26th, 2001, 07:14 PM
#1
Thread Starter
Addicted Member
radio and checked state
imagine having 4 radio in the same document how could i make it whaen i click on radio all others state become unchecked i tried div but its not working cuase these radios r inside different <tr>
-
Sep 26th, 2001, 07:42 PM
#2
Fanatic Member
are they enclosed in <form></form> tags?
-
Sep 26th, 2001, 07:45 PM
#3
Thread Starter
Addicted Member
no they r'n t is that the problem trying to see them through the document obj but can't
document.radioname=undifined
-
Sep 26th, 2001, 07:55 PM
#4
Fanatic Member
Place form tags around them. They should also have the same name.
-
Sep 27th, 2001, 12:25 AM
#5
Hyperactive Member
As Psyrus said...
They should also have the same name
That shld be the problem....
U gotta have the radio buttons, all with the same name. That groups them together.
Ex:
<input type=radio name=Group1>One
<input type=radio name=Group1>Two
<input type=radio name=Group1>Three
<input type=radio name=Group1>Four
-Jemima
-
Sep 27th, 2001, 08:21 AM
#6
Frenzied Member
Yes, same name, but different values.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|