I have this form:
http://jsfiddle.net/michelejs/Pt6LQ/
The problem is that I am not be able to serialize the content form in json format whit the function serializeArray.
In the function a array is still empty.
Can you help me?
Thank you very much.
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.
For a form element to be serialized, its “name” attribute must be defined. Add the names and it should be ok.
From jQuery Serialize Documentation: