PowerShell
Code:
Fine:
script:void(0);" id='anc_add' class="btn btn-green">Add Code
script:void(0);" id='anc_rem' class="btn btn-red ">Remove Code
$(document).ready(function () {
var cnt = 2; var cnt1 = 2;
$("#anc_add").click(function () {
$('#tbl1 tr').last().after('
Code:' + cnt + '
Fine:' + cnt1 + '
');
cnt++;
cnt1++;
});
$("#anc_rem").click(function () {
if ($('#tbl1 tr').size() > 1) {
$('#tbl1 tr:last-child').remove();
}
else {
alert('One row should be present in table');
} });
var getval = $('input[data-type="number"]').val;
});i want to store these values in session ,and then call session in code behind ,and insert into database using for loop??does there is any solution?


Sujeet SumanRank #790 · 2.9K reputationPosted Jul 3, 2015, 3:09 AM EDT