jQuery serialize / serializeArray from an element that is not a form

you need to serialize all the inputs inside your container, not the actual container itself. so:

$('div :input').serialize()

Leave a Comment