Click here to Skip to main content
15,909,051 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
when I add radio buttons to a HTML page, all radio buttons that I have added can be select but according to the radio buttons usage it is not acceptable! Then how can I able to solve that problem using JavaScript !
Posted
Comments
Prerak Patel 5-Sep-11 2:18am    
Not clear. Share some code. Try to rephrase your question.

Use name attribute, as shown here[^]
 
Share this answer
 
hi prerak,

u can do this directly from HTML tags and no need of JavaScript ,

just give unique name to "name" property of all radio buttons , and u will be able to select all radio buttons....
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900