请问文本框为<input style="width:40%" type="text" name="REG_NAME" id="REG_NAME" maxlength="10" onblur="value=value.replace(/\s/g,'')"/>
一个按钮为<input name="reset_form" type="button" class="btn_tb" id="reset_form" value="重填" onclick="window.location.href='region_list.jsp'"/>
应该怎么改写onclick事件,使单击按钮后,填写的文本框内容清空
一个按钮为<input name="reset_form" type="button" class="btn_tb" id="reset_form" value="重填" onclick="window.location.href='region_list.jsp'"/>
应该怎么改写onclick事件,使单击按钮后,填写的文本框内容清空
解决方案 »
- 一个视频播放的标签在HTML页面上可以播放为什么在工程中的JSP页面里就不行了呢
- jbuider
- 使用<fmt:setLocale value="${user.locale}" scope="session"/>没有反应
- 连接Access出错(急)
- 大哥们帮帮小弟! --急
- 急救呀,关于Struts+JDBC+JSP实现增删查改的问题,望各位高手来帮解决
- servlet的稳定性问题
- servlet中想包含个页面,怎么做?
- java的List是怎么用的?
- servlet一直无法跳转到对应的jsp页面,报500错误
- 不一样的系统 图片背景变黑
- 急急急!!!javascript Fuction方法传值问题
function OnClick(){
document.from.REG_NAME.value="";
}
}onclick="OnClick();"