Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
![]() |
•
•
Join Date: Oct 2007
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Hi friends,
I am java programmer .I am doing one simple job in javascript.i totally struck with this code for last two days..
Pleas help me to sort out.
My problem is i cloned row in the table each row contains two select button and three text box.I want to change the names of the select and input boxes.
please help me
priya
I am java programmer .I am doing one simple job in javascript.i totally struck with this code for last two days..
Pleas help me to sort out.
My problem is i cloned row in the table each row contains two select button and three text box.I want to change the names of the select and input boxes.
var counter = 0;
var rowNum =0;
function addRowToTable()
{
counter++;
tabBody = document.getElementById('tblSample').firstChild;
newRow = tabBody.appendChild(tabBody.firstChild.nextSibling.cloneNode(true));
rowNum = rowNum + 1;
for (i = 0; i < newRow.cells.length; i++)
newRow.cells[i].name = theName + counter;
}please help me
priya
![]() |
Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
- Event Handler in dynamic table rows (JavaScript / DHTML / AJAX)
- Double MySQL Query (PHP)
- Datagrid - no value at index ### error when scroll and sort (VB.NET)
- if conditional question in excel (Windows Software)
- Get All Rows In Column In A Where Statment (MS SQL)
- filestream && multidimensional arrays (C++)
- Dynamic Array, Writing to CSV, Floating Point ?'s (C)
- FULLTEXT searching (MySQL)
- Saving and opeing a JTable (Java)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: preloading images
- Next Thread: Giving error message while exceeding fixed height textarea
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode