Hi
I done the input field as custom if cusomer need we create n numbers, But How I get this N number value to store db
//Asp.Net
//Web Page
| S.No | Description of Items | Quantity | |
|---|---|---|---|
| //S.NO | //Description Item String value | //Qty in integer | // Remove button |
//JavaScript Coding...
var count = "1";
function AddRow(in_tbl_name) {
var tbody = document.getElementById(in_tbl_name).getElementsByTagName("TBODY")[0];
// create row
var row = document.createElement("TR");
// create table cell 2
var td1 = document.createElement("TD")
var strHtml2 = ""+count;
td1.innerHTML = strHtml2.replace(/!count!/g, count);
// create table cell 3
var td2 = document.createElement("TD")
var strHtml3 = "";
td2.innerHTML = strHtml3.replace(/!count!/g, count);
// create table cell 4
var td3 = document.createElement("TD")
var strHtml4 = "";
td3.innerHTML = strHtml4.replace(/!count!/g, count);
// create table cell 5
var td4 = document.createElement("TD")
var strHtml5 = "";
td4.innerHTML = strHtml5.replace(/!count!/g, count);
// append data to row
row.appendChild(td1);
row.appendChild(td2);
row.appendChild(td3);
row.appendChild(td4);
count = parseInt(count) + 1;
// add to count variable
// append row to table
tbody.appendChild(row);
}
function delRow() {
var current = window.event.srcElement;
//here we will delete the line
while ((current = current.parentElement) && current.tagName != "TR");
current.parentElement.removeChild(current);
}//Delete Row END
Submit()
{
var desc=document.getElementByName('Descr');
var qty=document.getElementByName('Qty');
// I need help on this How to I get value from if n numbers and insert into DB
}

Jenith ThakkarPosted Aug 31, 2019, 4:48 AM
Chandrasekaran CPosted Aug 31, 2019, 4:22 AM
Priyanka JainPosted Aug 31, 2019, 3:36 AM