3

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.

1 Answer 1

4

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:

the element cannot be disabled and must contain a name attribute.

Sign up to request clarification or add additional context in comments.

2 Comments

jsfiddle.net/michelejs/Pt6LQ/7 I have done but the problem is still remaining
Your form id is "frm" but in jQuery you request: $('#form'). Check that.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.