If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

This is a holdover from older days, and has a gotcha- if you have any variables with the same name as an id, the variable is exposed and the id is not. Also, the behavior is not in any specification, and is not guaranteed to continue in future versions of browsers that use it now. Better to use getElementById...

Thanks for your help, i think what Firefox says is something which seems to be suprising, it means by default for each element a DOM is already available pre made. Its convention to use getEleementById, but its availability is already there though.

So was just wondering is this the feature of browser or so, because each browser provides these, so might be a feature available above the limitations of browser.

So just wondering about some detailed inputs for the reason. Hope so we learn something new