![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
junjun199017
web 开发
展开
-
用js使得输入框input输入限制
觉得很好用 就收藏了并作了小小的修改JS判断只能是数字和小数点1.文本框只能输入数字代码(小数点也不能输入)57) event.returnValue = false;">2.只能输入数字,能输小数点.3.数字和小数点方法二4.只能输入字母和汉字5.只能输入英文字母和数字(包括小数点, 斜杠 ),不能输入中文6.只能输入数字和英文chun原创 2012-05-18 11:31:37 · 486 阅读 · 0 评论 -
Request.ServerVariables 获取方法总结
Request.ServerVariables["Url"] 返回服务器地址Request.ServerVariables["Path_Info"] 客户端提供的路径信息Request.ServerVariables["Appl_Physical_Path"] 与应用程序元数据库路径相应的物理路径Request.ServerVariables["Path_Tra转载 2012-06-11 17:41:17 · 636 阅读 · 0 评论 -
js重定向---实现页面跳转的几种方式
第一种: window.location.href="login.jsp?backurl="+window.location.href; 在当前页面打开(覆盖当前页面(框架)) window.location.parent.top.href="login.jsp?backurl="+window.l转载 2012-07-14 10:19:41 · 691 阅读 · 0 评论