i have create a row in which 4 colum two of them is drop down one is date and last one is browse a file to upload. now i need that when i click a button this should add new row with same controls.
HSP
HSP
Report Type:
Report Type
Date of Report:
Upload File:
on click over add new record button the complete table should be created in second rowthanks & regardsShashidhar Kumar
function addNewRecord() { var record = document.getElementById("record"); var no = record.childNodes.length; var newRecord = record.cloneNode(true); newRecord.id = "record" + no; newRecord.value = ""; newRecord.name = "uploaded" + no; record.parentNode.appendChild(newRecord); }
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
About Quomon
Quomon is a network of IT professionals from around the world, collaborating by sharing knowledgeable answers in their specific field of expertise.
Add New Comment