|
-
January 7th, 2009, 09:11 PM
#1
Javascript: InnerHTML Issues
Hey, well I wrote a script to keep adding rows onto a table. That works, and all the fields work, the problem is extraction of data.
I have drop down menu's and such in each row, but they all turn out to have the same name because to add them, I am just using innerHtml and sticking in the code. The problem I have is that I can't figure out how to get the data of one of those dropdown menus in a specific row.
I tried something like this,
Code:
var x=document.getElementById('info').rows[0].cells;
var y=x[2].innerHTML.value;
and a bunch of other stuff along those lines, but none worked.
Any ideas?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|