javascript
dingdangxiaoma
程序人生
展开
-
Web页面根据不同的分辨率显示不同的图片
if (screen.height >= 768 && screen.width >= 1024) {document.write("");}else {if (screen.height == 600 && screen.width == 800) {document.write("");}else {document.write(" width=转载 2010-05-10 20:30:00 · 1408 阅读 · 0 评论 -
javascript判断输入的值是不是正整数
转贴:javascript判断输入的值是不是正整数转载 2010-07-29 17:06:00 · 1895 阅读 · 0 评论 -
一个form 两上submit button怎么处理
<br /><form name="form1" method="post"> <br /><input id="Text1" type="text" /><br /><input type="button" value="提交一" onclick="s1(this.form)"><br /><input type="button" value="提交二" onclick="s2(this.form)"><br /></form> <br /><script la转载 2010-08-01 21:37:00 · 753 阅读 · 0 评论 -
javascript
window.location.reload(); 刷新当前页面.在Web Form 的html中加入下面這個,可不可以: window.location.href='combox.jsp'2007-12-06 13:23:14 · 58 阅读 · 0 评论