| | |
How do you read radio buttons in XHTML
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
XHTML has removed the "name" attribute.
But the JavaScript method for reading radio buttons requires the "name" attribute to be the same on each radio button.
W3C says to use "id", but that no more than one "id" is valid.
I need to write an XHTML page with radio buttons. How?
But the JavaScript method for reading radio buttons requires the "name" attribute to be the same on each radio button.
W3C says to use "id", but that no more than one "id" is valid.
I need to write an XHTML page with radio buttons. How?
Last edited by MidiMagic; Aug 8th, 2007 at 7:59 pm.
Daylight-saving time uses more gasoline
'name' has not been deprecated. Without it forms won't work any more.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
The information I had was wrong.
The validator was confused by a couple of unampersanded quotes in different value strings. They made the validator think it was dealing with a different tag. But it didn't tell me what tag it thought was there.
I got the solution from a helpful guy at W3C.
Name is deprecated in all uses except form.
The validator was confused by a couple of unampersanded quotes in different value strings. They made the validator think it was dealing with a different tag. But it didn't tell me what tag it thought was there.
I got the solution from a helpful guy at W3C.
Name is deprecated in all uses except form.
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- Jmail with radio buttons and menus (Site Layout and Usability)
- javascript radio buttons and insanity (JavaScript / DHTML / AJAX)
- dynamically generated textboxes & radio buttons php, insert into db (PHP)
- binding radio buttons (VB.NET)
- javascript: radio buttons (JavaScript / DHTML / AJAX)
- IE6 - dialogue boxes , check boxes and radio buttons work very slowly after hijacking (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Problem with applying colors from form
- Next Thread: Find location of highlighted text
| Thread Tools | Search this Thread |
acid2 ajax ajaxexample ajaxjspservlets array beta box browser captchaformproblem cart child close codes column css date debugger decimal dependent design disablefirebug dom download element embed engine enter error events ext file firefox focus form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html ie7 ie8 iframe index java javascript javascripthelp2020 jquery jsp jump libcurl listbox maps masterpage math media menu microsoft mimic mp4 onerror onmouseoutdivproblem onmouseover onreadystatechange paypal pdf php position post problem programming prototype rated rating redirect safari scale scriptlets scroll search security select software star starrating synchronous toggle unicode variables w3c web webservice window windowofwords xml \n






