| | |
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 |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate array automatically browser bug calendar captchaformproblem cart checkbox child close codes createrange() cursor date debugger dependent disablefirebug dom dropdown editor element embed engine events explorer ext file firefox focus form forms frameworks getselection google gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump libcurl maps masterpage math media microsoft object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search security shopping size software sql text textarea unicode web website windowsxp wysiwyg \n






