OZONE Asylum
Forums
DHTML/Javascript
how to access innerhtml element
This page's ID:
28786
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I'm not sure what you're up to here - I can't find a closing </table>, I have no clue why you're creating the table via javascript in the first place, theelementcon[i].innerHTML=document.getElementById("ConNameMs[]").value; overwrites the innerHTML each time, which might be your problem, but then, document.getElementById("ConNameMs[]").value will continously return the same value. That [] is only parsed server side, as far as I remember, so you'd at the very least have to do a [code] var els = document.getElementsByName("conNameMs[]"); for ( e in els ) { theelementcon[i].innerHTML += els[e].value + "\r\n"; } [/code] I hope my rambelings can help you - if not, holler up and explain what you were trying to do in the first place. So long, ->Tyberius Prime
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »