Great! How would I add the attributes to the cell though?
<td class="t15data" >
Main Topics
Browse All TopicsI need to pass information to a Javascript function and have it display as cells in a new row.
select '<div onclick="setTemplate('||TE
etc...
from my table
function setTemplate(pID){
// Add row to table - have a table with a header cell id='TEMPL01'
// Want to add Template ID and Name
}
Thank you, Bill
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi, I've got the below code from the example working BUT I can't get the table ID on the right table due to the tool I'm using. I'm working with Oracle APEX and I was able to add a table ID to the region table which holds an inner table that is the one needing to be accessed.
Instead of passing in a table ID I can pass in a input tags ID so what would I use to get up to the TBODY tag?
Existing. (id) being the Table ID
var tbody = document.getElementById
(id).getElementsByTagName(
I just found something that might make your code allot easier to read:
http://www.javascriptkit.c
Business Accounts
Answer for Membership
by: UnexplainedWaysPosted on 2008-08-23 at 17:18:59ID: 22299000
Have a look @ this example. It should help you out, http://javascript.internet .com/misce llaneous/a dd-a-row.h tml