Subj : Help, problem of attrribute "value" update for input tag in DOM!!! To : netscape.public.mozilla.jseng From : "Jean" Date : Mon Mar 03 2003 03:08 pm Hi,all, I'm trying to use javascript DOM programming in my application, but something strange happen with Netscape/Mozilla. When I try to get input value with document.getElementById("username").getAttribute("value") I only get the default value "jean", but not the value I key in. But if I try document.forms[0].elements["username"].value It returns the correct value. It works fine in IE, but both Netscape7 & Mozilla1.2 gets the same problem, any one knows why? And any solution? The tag is defined as follow: Thanks in advance. Regards Jean .