there is nothing written wrong in the code. The only thing that comes into my notice is
password_info.innerHTML
Always remove the existing childelements before you set the innerHTML, so that if there is any child elements present, IE will throw an error. Use like this :
function setContent(container, content) {
if (!!container) {
while (container.firstChild)
container.removeChild(container.firstChild);
var dummyDiv = document.createElement('div');
dummyDiv.innerHTML = content;
container.appendChild(dummyDiv);
}
}
Now call setContent(password_info,"yourhtml") On your problem, I think there must be problem somewhere else. Check Mozilla Error Console for that entry. :thumbsup:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.