摘要:123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
阅读全文
摘要:"^\d+$" //非负整数(正整数 + 0) 3. "^[0-9]*[1-9][0-9]*$" //正整数 4. "^((-\d+)|(0+))$" //非正整数(负整数 + 0) 5. "^-[0-9]*[1-9][0-9]*$" //负整数 6. "^-?\d+$" //整数 7. "^\d+(\.\d+)?$" //非负浮点数(正浮点数 + 0) 8. "^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0
阅读全文
摘要:/^[\u4E00-\u9FA5\uF900-\uFA2D\A-z\0-9]{3,20}$/
阅读全文
摘要:<span id="tiao">3</span><a href="javascript:countDown"></a>布丁足迹;秒后自动跳转……<meta http-equiv=refresh content=3;url='/search/billsearch.jsp'</ul><!--脚本开始--><script language="javascript" type="">function countDown
阅读全文
摘要:<!-- JiaThis Button BEGIN --><div id="ckepop"> <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt" target="_blank"><img src="http://v2.jiathis.com/code_mini/images/btn/v1/jiathis1.gif" border="0" /><
阅读全文
摘要:<!-- UJian Button BEGIN --><script type="text/javascript" src="http://v1.ujian.cc/code/ujian.js?type=slide"></script><!-- UJian Button END -->
阅读全文
摘要:<!--分享的js--><!-- JiaThis Button BEGIN --><script type="text/javascript"src=" http://v1.jiathis.com/code/jiathis_r.js"charset="utf-8"></script><!-- JiaThis Button END -->//不带标识的分享.为青色之友分享2字!-- Baidu Button BEGIN --><script type="t
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=gb2
阅读全文
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head> <title> New Document </title> <meta name="Generator" content="EditPlus"> <meta name="Author" con
阅读全文
摘要:<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><title>jQuery弹出层效果</title><meta content="网页特效,特效代码,jQuery,css特效,Js代码,广告幻灯,图片切换" name="keywords" /><meta content="jQuery弹出层效果,有关闭按钮,代码简单易懂,你可以随意修改弹出层的参数。" nam
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23
阅读全文
摘要:<script>var myDate = new Date(); myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate.getDate(); //获取当前日(1-31) myDate.getDay(); //获取当前星期X(0-6,0代表星期天) myDate.getTime(); //获取当前时间(从1970.1.1开始的毫秒数) myDate.getHours(); //获取当前小时数(
阅读全文
摘要:1.document.write(""); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5.得到表单中元素的名称和值:document.getElementById("表单中元素的ID号").name(或value)6.一个小写转大写的JS: document.getElementById("output").
阅读全文
摘要:var imgPath = $("#InputFile1").val();var imgEx = (imgPath.substr(imgPath.length -5)).substr((imgPath.substr(imgPath.length -5)).indexOf('.')+1).toLowerCase();
阅读全文
摘要:一般事件 事件 浏览器支持 描述 onClick IE3|N2|O3 鼠标点击事件,多用在某个对象控制的范围内的鼠标点击 onDblClick IE4|N4|O 鼠标双击事件 onMouseDown IE4|N4|O 鼠标上的按钮被按下了 onMouseUp IE4|N4|O 鼠标按下后,松开时激发的事件 onMouseOver IE3|N2|O3 当鼠标移动到某对象范围的上方时触发的事件 onMouseMove IE4|N4|O 鼠标移动时触发的事件 onMouseOut IE4|N3|O3 当鼠标离开某对象范围时触发的事件 onKeyPress IE4|N4|O 当键盘上的某个键被按下并且
阅读全文
摘要:<a href="#" onclick="window.open('demo.html','','width=400,height=300,location=no,menubar=no,status=no,scrollbars=no,resizable=no')">一个链接</a>说明:width=400 窗口宽height=300 窗口高location=no 不显示地址栏(如需显示把no改成yes,下同)menubar=no 不显示菜单栏status=no 不显示状态栏resiz
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="content-type" content=&
阅读全文
摘要:<body onload='f2()'> //需要在body里触发//以下代码找个空位随便放<div align="center"><span class="STYLE7" id='time'></span></div><script> function f2(){ var d1 = new Date(); var time = document.getElementById('time'); time.innerHTML = d1.t
阅读全文