gruszczy gruszczy - 18 days ago 6
jQuery Question

serialize doesn't include hidden fields

I run serialize on a form, where on of the fields is hidden - and it's a very important field, which should be posted. Is there any way to easily serialize it through jQuery or should I write my own function?

Answer

Serialize does include all enabled input elements with a name attribute.

Comments