锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲熟妇无码AV在线播放,亚洲风情亚Aⅴ在线发布,亚洲av成本人无码网站http://www.tkk7.com/senlin-blog/category/26920.htmlzh-cnThu, 17 Apr 2008 20:40:07 GMTThu, 17 Apr 2008 20:40:07 GMT60js鏍¢獙甯哥敤鏂規硶http://www.tkk7.com/senlin-blog/archive/2008/04/17/193817.html鎴戠殑java鐢熸動鎴戠殑java鐢熸動Thu, 17 Apr 2008 09:31:00 GMThttp://www.tkk7.com/senlin-blog/archive/2008/04/17/193817.htmlhttp://www.tkk7.com/senlin-blog/comments/193817.htmlhttp://www.tkk7.com/senlin-blog/archive/2008/04/17/193817.html#Feedback0http://www.tkk7.com/senlin-blog/comments/commentRss/193817.htmlhttp://www.tkk7.com/senlin-blog/services/trackbacks/193817.htmlfunction ChkUtil() { }
//鏍¢獙鏄惁涓虹┖(鍏堝垹闄や簩杈圭┖鏍煎啀楠岃瘉)
ChkUtil.isNull = function (str) {
if (null == str ||聽聽""== str.trim()) {
聽聽return true;
} else {
聽聽return false;
}
};
//鏍¢獙鏄惁鍏ㄦ槸鏁板瓧
ChkUtil.isDigit聽聽= function (str) {
var patrn=/^\d+$/;
return patrn.test(str);
};
//鏍¢獙鏄惁鏄暣鏁?br />ChkUtil.isInteger = function (str) {
var patrn=/^([+-]?)(\d+)$/;
return patrn.test(str);
};
//鏍¢獙鏄惁涓烘鏁存暟
ChkUtil.isPlusInteger = function (str) {
var patrn=/^([+]?)(\d+)$/;
return patrn.test(str);
};
//鏍¢獙鏄惁涓鴻礋鏁存暟
ChkUtil.isMinusInteger = function (str) {
var patrn=/^-(\d+)$/;
return patrn.test(str);
};
//鏍¢獙鏄惁涓烘誕鐐規暟
ChkUtil.isFloat=function(str){
var patrn=/^([+-]?)\d*\.\d+$/;
return patrn.test(str);
};
//鏍¢獙鏄惁涓烘嫻偣鏁?br />ChkUtil.isPlusFloat=function(str){
聽聽var patrn=/^([+]?)\d*\.\d+$/;
聽聽return patrn.test(str);
};
//鏍¢獙鏄惁涓鴻礋嫻偣鏁?br />ChkUtil.isMinusFloat=function(str){
聽聽var patrn=/^-\d*\.\d+$/;
聽聽return patrn.test(str);
};
//鏍¢獙鏄惁浠呬腑鏂?br />ChkUtil.isChinese=function(str){
var patrn=/[\u4E00-\u9FA5\uF900-\uFA2D]+$/;
return patrn.test(str);
};
//鏍¢獙鏄惁浠匒CSII瀛楃
ChkUtil.isAcsii=function(str){
var patrn=/^[\x00-\xFF]+$/;
return patrn.test(str);
};
//鏍¢獙鎵嬫満鍙風爜
ChkUtil.isMobile = function (str) {
var patrn = /^0?1((3[0-9]{1})|(59)){1}[0-9]{8}$/;
return patrn.test(str);
};
//鏍¢獙鐢佃瘽鍙風爜
ChkUtil.isPhone = function (str) {
var patrn = /^(0[\d]{2,3}-)?\d{6,8}(-\d{3,4})?$/;
return patrn.test(str);
};
//鏍¢獙URL鍦板潃
ChkUtil.isUrl=function(str){
var patrn= /^http[s]?:\/\/[\w-]+(\.[\w-]+)+([\w-\.\/?%&=]*)?$/;
return patrn.test(str);
};
//鏍¢獙鐢甸偖鍦板潃
ChkUtil.isEmail = function (str) {
var patrn = /^[\w-]+@[\w-]+(\.[\w-]+)+$/;
return patrn.test(str);
};
//鏍¢獙閭紪
ChkUtil.isZipCode = function (str) {
var patrn = /^\d{6}$/;
return patrn.test(str);
};
//鏍¢獙鍚堟硶鏃墮棿
ChkUtil.isDate = function (str) {
聽聽if(!/\d{4}(\.|\/|\-)\d{1,2}(\.|\/|\-)\d{1,2}/.test(str)){
聽聽聽聽return false;
聽聽}
聽聽var r = str.match(/\d{1,4}/g);
聽聽if(r==null){return false;};
聽聽var d= new Date(r[0], r[1]-1, r[2]);
聽聽return (d.getFullYear()==r[0]&&(d.getMonth()+1)==r[1]&&d.getDate()==r[2]);
};
//鏍¢獙瀛楃涓詫細鍙兘杈撳叆6-20涓瓧姣嶃佹暟瀛椼佷笅鍒掔嚎(甯哥敤鎵嬫牎楠岀敤鎴峰悕鍜屽瘑鐮?
ChkUtil.isString6_20=function(str){
var patrn=/^(\w){6,20}$/;
return patrn.test(str);
};



]]>
js涓帶鍒跺皬鏁扮偣鐨勪綅鏁?/title><link>http://www.tkk7.com/senlin-blog/archive/2008/04/15/193075.html</link><dc:creator>鎴戠殑java鐢熸動</dc:creator><author>鎴戠殑java鐢熸動</author><pubDate>Tue, 15 Apr 2008 05:05:00 GMT</pubDate><guid>http://www.tkk7.com/senlin-blog/archive/2008/04/15/193075.html</guid><wfw:comment>http://www.tkk7.com/senlin-blog/comments/193075.html</wfw:comment><comments>http://www.tkk7.com/senlin-blog/archive/2008/04/15/193075.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/senlin-blog/comments/commentRss/193075.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/senlin-blog/services/trackbacks/193075.html</trackback:ping><description><![CDATA[ <p>聽</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">script聽language</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">JScript</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />Number.prototype.toFixed</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">function(num)<br /><img id="Codehighlighter1_70_268_Open_Image" onclick="this.style.display='none'; Codehighlighter1_70_268_Open_Text.style.display='none'; Codehighlighter1_70_268_Closed_Image.style.display='inline'; Codehighlighter1_70_268_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_70_268_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_70_268_Closed_Text.style.display='none'; Codehighlighter1_70_268_Open_Image.style.display='inline'; Codehighlighter1_70_268_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />聽聽聽</span> <span id="Codehighlighter1_70_268_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_70_268_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽</span> <span style="COLOR: #008000">//</span> <span style="COLOR: #008000">閲嶆柊鏋勯爐oFixed鏂規硶,IE5.0+</span> <span style="COLOR: #008000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /> </span> <span style="COLOR: #000000">聽聽聽with(Math)</span> <span style="COLOR: #0000ff">this</span> <span style="COLOR: #000000">.NO</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000">round(</span> <span style="COLOR: #0000ff">this</span> <span style="COLOR: #000000">.valueOf()</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">pow(</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">,num))</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">pow(</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">,num);<br /><img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />聽聽聽</span> <span style="COLOR: #0000ff">return</span> <span style="COLOR: #000000">聽String(</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">\.</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">g.exec(</span> <span style="COLOR: #0000ff">this</span> <span style="COLOR: #000000">.NO)</span> <span style="COLOR: #000000">?</span> <span style="COLOR: #0000ff">this</span> <span style="COLOR: #000000">.NO:</span> <span style="COLOR: #0000ff">this</span> <span style="COLOR: #000000">.NO</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">.</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">+</span> <span style="COLOR: #000000">String(Math.pow(</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">,num)).substr(</span> <span style="COLOR: #000000">1</span> <span style="COLOR: #000000">,num));<br /><img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />alert((</span> <span style="COLOR: #000000">12.9299</span> <span style="COLOR: #000000">).toFixed(</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">));<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" />alert((</span> <span style="COLOR: #000000">12.9999</span> <span style="COLOR: #000000">).toFixed(</span> <span style="COLOR: #000000">2</span> <span style="COLOR: #000000">));<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #000000"></</span> <span style="COLOR: #000000">script</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000">聽聽<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> </div> <img src ="http://www.tkk7.com/senlin-blog/aggbug/193075.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/senlin-blog/" target="_blank">鎴戠殑java鐢熸動</a> 2008-04-15 13:05 <a href="http://www.tkk7.com/senlin-blog/archive/2008/04/15/193075.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://gz-shunan.com" target="_blank">亚洲JIZZJIZZ妇女</a>| <a href="http://023439.com" target="_blank">亚洲精品不卡视频</a>| <a href="http://jinmenonline.com" target="_blank">永久免费精品影视网站</a>| <a href="http://billtsssrvp.com" target="_blank">国产精品久免费的黄网站</a>| <a href="http://www-741.com" target="_blank">日韩高清在线高清免费</a>| <a href="http://jiujiujingpin.com" target="_blank">亚洲精品美女在线观看</a>| <a href="http://gztzbj.com" target="_blank">24小时在线免费视频</a>| <a href="http://haidiaori.com" target="_blank">亚洲视频一区在线播放</a>| <a href="http://vod8090.com" target="_blank">222www免费视频</a>| <a href="http://langtuojidian.com" target="_blank">亚洲欧洲日产国码二区首页</a>| <a href="http://ssdtsz.com" target="_blank">亚洲免费观看网站</a>| <a href="http://fenxiangceo.com" target="_blank">久久精品亚洲AV久久久无码</a>| <a href="http://35419470.com" target="_blank">国产高清视频免费在线观看</a>| <a href="http://ghdc5.com" target="_blank">亚洲人精品午夜射精日韩</a>| <a href="http://770144.com" target="_blank">久久99精品免费视频</a>| <a href="http://www-7479.com" target="_blank">免费jjzz在在线播放国产</a>| <a href="http://gengyufood.com" target="_blank">日韩a毛片免费观看</a>| <a href="http://kj555888.com" target="_blank">亚洲日本乱码在线观看</a>| <a href="http://zgbeian.com" target="_blank">亚洲日韩AV一区二区三区中文</a>| <a href="http://sx97zc.com" target="_blank">中文字幕在线免费看</a>| <a href="http://wusongtv.com" target="_blank">亚洲V无码一区二区三区四区观看</a>| <a href="http://jcthbank.com" target="_blank">亚洲久热无码av中文字幕</a>| <a href="http://www5xsq.com" target="_blank">亚洲视频免费在线观看</a>| <a href="http://nmcytsi.com" target="_blank">亚洲成AV人综合在线观看</a>| <a href="http://jmdehong.com" target="_blank">午夜成人免费视频</a>| <a href="http://xingdagx.com" target="_blank">特级一级毛片免费看</a>| <a href="http://35xyz.com" target="_blank">麻豆精品国产免费观看</a>| <a href="http://cswangli.com" target="_blank">亚洲一区中文字幕在线电影网</a>| <a href="http://wwwst6.com" target="_blank">黄色网站软件app在线观看免费</a>| <a href="http://820111com.com" target="_blank">亚洲一本综合久久</a>| <a href="http://www045888.com" target="_blank">成全高清视频免费观看</a>| <a href="http://k8h9.com" target="_blank">亚洲精品视频免费</a>| <a href="http://33338x.com" target="_blank">免费人成网站在线高清</a>| <a href="http://ymtphoto.com" target="_blank">中文字幕无码免费久久</a>| <a href="http://jioupin.com" target="_blank">亚洲成人黄色在线</a>| <a href="http://sxjttxkywl.com" target="_blank">www.亚洲色图</a>| <a href="http://c2277.com" target="_blank">男人扒开添女人下部免费视频</a>| <a href="http://gzltchem.com" target="_blank">国产亚洲综合成人91精品</a>| <a href="http://hnmxld.com" target="_blank">久久国产精品免费一区</a>| <a href="http://45-po.com" target="_blank">亚洲精品综合久久</a>| <a href="http://sxjttxkywl.com" target="_blank">8090在线观看免费观看</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>