•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,569 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,575 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 652 | Replies: 1
![]() |
•
•
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- 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


Linear Mode