Skip to content Skip to sidebar Skip to footer

How To Insert Dynamic Multiple Rows Textboxes Generated Value In A Variable

I'm trying insert dynamic multiple rows textboxes generated value in a variable to send it through ajax json to server side. Code for generating multiple dynamic values. $('#btnAS

Solution 1:

try like this , make use of .serializeArray() and find()

$( "#target" ).click(function() {
  alert(JSON.stringify($("#WireDimTbl tbody").find(":input").serializeArray()));
});

jsfiddle working : https://jsfiddle.net/pranayamr/odja5te0/

Post a Comment for "How To Insert Dynamic Multiple Rows Textboxes Generated Value In A Variable"