> document.ElementById has a bug in ie6 and ie7 that will return an > element with a name attribute of the same value. Use $('#today') > instead.
Got it. Thanks! > todayEl.innerHTML = "something" can cause memory leaks if events are > added to DOM objects inside of todayEl and then just written over > instead of being removed first. Use $('#today').html(formatDate(new > Date)); instead if this could be a cause for concern. Are you saying that innerHTML is not reusable for the same selector, or that it can only be used once in the same document. I am a little confused. Did you know that W3 is promoting it? http://dev.w3.org/html5/html4-differences/Overview.html#htmldocument-extensions Roddy