在更改资料的时候,我设了个按钮时“重新填写”(晴空所填写的信息),这个按钮是怎么实现的
如题
[解决办法]
<input type="reset">
[解决办法]
<input type="reset" value="清空">
[解决办法]
<s:reset>清空<s:reset/>----直接用
==========================
function reset(arg1,arg2,xxx){
arg1=document.getelementby(xxx);
arg2=${xxxform.xxx};
arg3=document.forms[0].xxx.value;
xxxx
arg1 = null;
xxxx
}----------js
==========================
public void Reset(){
xxform.setxxx(null);
return
}--------------java的action里面
有很多方法就不一一列了,因我也不住#&¥(……@#(……¥(@
[解决办法]
连 form 都没有? 算表单么??
[解决办法]
<form action="aaa.jsp" method="post">
<input type="text" name="aname">
<input type="submit" value="提交">
<input type="reset" value="重置">
</form>
//PS:<input type="submit">和:<input type="reset">只有在<form> - </form>才能起作用
[解决办法]
<input type="reset" value="清空">