<script> //for NormalFrom............................................................ var NormalFrom=""; $("input[name=NormalFrom]").each(function (){ NormalFrom=NormalFrom+$(this).attr("id")+"="+$(this).val()+"&"; }); NormalFrom=NormalFrom.substring(0,NormalFrom.length-1); //alert(NormalFrom);</script> <form> <input type="text" class="form-control" placeholder="NormalFrom" title="NormalFrom" id="NormalFrom" name="NormalFrom"> <input type="text" class="form-control" placeholder="NormalFrom" title="NormalFrom" id="NormalFrom" name="NormalFrom"> <input type="text" class="form-control" placeholder="NormalFrom" title="NormalFrom" id="NormalFrom" name="NormalFrom"> </form>
Monday, 28 September 2015
How to fetch values from multiple input element with same name in Jquery?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment