Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a html page with a form which contain some controls like -radio button form male or female , checkbox for qualification , and dropdown for Hobies , and now i want to validate that form using java script , but i dont understand that how to get value of selected checkbox , radiobutton , and dropdownlist item value using java script on html page .
please help me .
Posted

1 solution

Maybe time to go through a tutorial.
This is one place to start W3Schools: JavaScript Tutorial[^]
And especially JavaScript Form Validation[^]
 
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