i want to submit a form with about 10 input using jquery/ajax,but i don’t know how can i pass the data to it through data parameters of ajax.should i serialize them ?
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.
The jQuery.serialize can be helpful for you. It is important that you use
nameproperty for all fields of the form which you want to submit. The corresponding code can be about the following