id="h_email" <form action="/"><input type="text" id="h_email" name="email" value="1"/></form><br/> id="email" <form action="/"><input type="text" id="email" name="email" value="2"/></form><br/> <input type="button" value="check" onclick="alert(document.getElementById('email').value)"/>
Thanks, problem is solved. I must use doctype )))
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Hi,
Do you have a web link to your full page source?
We need to know the DTD you are using and what documentMode IE 9 is using?
have you validated your full markup at validator.w3.org?
Regards.