Friday 15 August 2014

javascript - Ignore form field to serialize -



javascript - Ignore form field to serialize -

hello passing form searlize create ajax call. there 1 text area don't want searlize , ignoring next text not working find , text area serlized.

$("#my_form :textarea[name!='terms']").serialize()

try adding class textarea don't want serialize. such ignore.

then utilize $("#my_form textarea:not(.ignore)").serialize() , ready go.

js fiddle

http://jsfiddle.net/s5xr3shu/

javascript jquery

No comments:

Post a Comment