How to get the checkbox names when that form is loaded by html template. in Java Script?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Will give you all their names in an array if you’re not using jQuery. You can dump that push() call and do whatever you need to there if you just want to operate on checkboxes.
Just remember, if you have a ton of inputs on your page this will be a slow operation.