| | |
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 ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser captchaformproblem checkbox child close codes css debugger decimal dependent disablefirebug dom download editor element engine enter error events explorer ext file firefox form forms frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe index internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump listbox maps masterpage math media menu microsoft mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent paypal pdf php player position problem programming prototype redirect regex runtime safari scale scriptlets search security select size software sql textarea unicode w3c window windowofwords windowsxp wysiwyg \n






