jquery - Serialize all fields -
I have checked the jquery serialize docs and I am trying to find the best method, all my fields are serial Do the print and output output, something like this in the demo:
function showValues () {var str = $ ("form"). Serialize (); . $ ("# Result") text (STR); } $ (": Checkbox, radio:"). Click (Show demo); $ ("Select") (showValues) change. ShowValues (); }); In spite of this, call the form on the formual, use the return false and show them.
Thoughts?
Are you putting it inside the document. Your method? It seems that you are ending like this ... It should be:
$ (function () {$ (": checkbox, radio"). Click (appearances); $ ("Selection"). Change (overalls); $ ('form'). Tie ('submit', function () {showValues (return; return back;}); show ();}); Function showValues () {var str = $ ("form"). Serialize (); . $ ("# Result") text (STR); }
Comments
Post a Comment