Archive for the 'JavaScript' Category

getElementById(‘description’) in IE

Jun 3rd, 2005

document.getElementById() in IE has some issues. The problem can be spotted when you have a page element with an id “description” and meta tag with a name “description” IE considers the meta tag to be the one that should be returned by getElementById(). Which is, of course, wrong. ID is an ID and name is […]