jQuery .serialize() returns empty string
Submitted by benl on Mon, 01/11/2010 - 18:11
Related Terms :
In case anyone else runs into this:
I kept hitting my head, wondering why jQuery's serialize() would return an empty string for my form.
The reason was that I hadn't specified name attributes ( I was only using IDs ) for form elements, as I was dealing with the form via AJAX and hadn't had a reason to need them.
Simple fix, annoying to find