I would like to get the same effect as jQuery.serialize() but I would like to return only the child elments of a given div.
jQuery.serialize()
div
Sample
You can improve the speed of your code if you restrict the items jQuery will look at.
Use the selector :input instead of * to achieve it.
$('#divId :input').serialize()
This will make your code faster because the list of items is shorter.