Serialize form to object – jQuery
It’s pretty easy to serialise form using jQuery –
$('#formid').serialize();
or by
$('#formid').serializeArray();
But neither of them it’s easy to modify. Really useful snippet – serialise form to object.
View the code on Gist .