|
-
Dec 10th, 2004, 05:03 AM
#1
Thread Starter
Junior Member
document.innerHTML
Hi
I am trying to create a javascript that will tell me all the "ID"s associated with the HTML tags as I can change them later by getElementById() method
for example
instead of writing
document.getElementById("myid").innerHTML = "<b>Hello World</b>"
I want to write
var var_myID
var_myID = Some code that can dinamically find any "ID" associated with any TAG
document.getElementById(var_myID).innerHTML = "<b>Hello World</b>"
can any one suggest me any idea
kajol
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
|