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