默认选中 checked
<input type="radio" name="user.status" value="1" checked>正常
<input type="radio" name="user.status" value="0">禁用
Javascript提示下列错误:
Error: unterminated string literal
<input type="button" οnclick="gotoList('userList.htm);" value="取消" tabindex="7" class="buttom"/>
input type="button" οnclick="gotoList('userList.htm');" value="取消" tabindex="7" class="buttom"/>
少了一个'号...注意.
textarea maxlength="120" 在IE上不起作用 需要配合JS控制字符长度
<textarea id="content" name="zjzh_jzxjm.ME_CONTEXT" cols="56" rows="5" tabindex="5" maxlength="120" >$!zjzh_jzxjm.ME_CONTEXT</textarea>
var content = document.getElementById("content").value;
if(content.length>120)
{
alert("内容请小于120个字!");
return false;
}
javabean的规范,首字母不要大写,第二个字母也不要大写,更不能用小写或者数字下划线等等
select 默认选中