Using the right combination of name and id attributes on a particular element will make getElementById method cross-browser. Yes, even i IE6 and IE7.
Read the outside article: Avoiding Problems With JavaScript’s getElementById Method in Internet Explorer 7
Level: Intermediate


