I have a form with a large number of dynamically generated elements. in the submit handler I would like to get all the data at once rather than going by each id. Is there anyway to do it?
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.
your question is not very clear but maybe you’re looking for
serialize()orserializeArray()jQuery methodshttp://api.jquery.com/serialize/
http://api.jquery.com/serializeArray/
e.g