
JavaScript
JC_Silen
这个作者很懒,什么都没留下…
展开
-
js验证表单大全
js验证表单大全 1. 长度限制 function test() { if(document.a.b.value.length>50) { alert("不能超过50个字符!"); document.a.b.focus(); return false; } } 2. 只能是汉字 3." 只能是英文 function onlyEng()转载 2012-08-30 15:52:03 · 328 阅读 · 0 评论 -
页面按时自动跳转
<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> "> My JSP 'message.jsp' start原创 2012-09-06 11:57:43 · 634 阅读 · 0 评论