Is it possible when using jQuery’s $.serialize() or $.serializeArray() to get the types of input fields (their attributes) that are being serialized? Obviously it sends the input names in the headers, but I’m wondering if I could grab like: textarea, input type="text", input type="radio"?
Is it possible when using jQuery’s $.serialize() or $.serializeArray() to get the types of
Share
Can manipulate form input properties easily to any structure you want. Here’s 2 flavors
DEMO: http://jsfiddle.net/zd3Pc/