试试<html:select name="Form" property="Typ" onchange="showElement(this)" > 
<option value="1">1 </option> 
<option value="2">2 </option> 
</select> 
<DIV ID="DIV1" style="display:none">
<html:text name="Form" property="Nm"/> 
</DIV>
<script> 
function showElement(obj)
{
document.getElementById("DIV1").style.display=((obj.value=="1")?"none":"")
}
</script>