Home » Tag Archives: jQuery (page 2)

Tag Archives: jQuery

How to get form values by serializeArray() jQuery function

The following jquery script can use for get form input values <script type=”text/javascript”>// <![CDATA[ //function to get form values function getformValues() { var fields = $(“:input”).serializeArray(); $(“#smarttips-div”).empty(); jQuery.each(fields, function(i, field){ $(“#smarttips-div”).append(field.value + ” “); }); } //call function to get form values getformValues(); </script>

Read More »