锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲熟妇无码AV在线播放,亚洲风情亚Aⅴ在线发布,亚洲av成本人无码网站http://m.tkk7.com/senlin-blog/category/26920.htmlzh-cnThu, 17 Apr 2008 20:40:07 GMTThu, 17 Apr 2008 20:40:07 GMT60js鏍¢獙甯哥敤鏂規硶http://m.tkk7.com/senlin-blog/archive/2008/04/17/193817.html鎴戠殑java鐢熸動鎴戠殑java鐢熸動Thu, 17 Apr 2008 09:31:00 GMThttp://m.tkk7.com/senlin-blog/archive/2008/04/17/193817.htmlhttp://m.tkk7.com/senlin-blog/comments/193817.htmlhttp://m.tkk7.com/senlin-blog/archive/2008/04/17/193817.html#Feedback0http://m.tkk7.com/senlin-blog/comments/commentRss/193817.htmlhttp://m.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://m.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://m.tkk7.com/senlin-blog/archive/2008/04/15/193075.html</guid><wfw:comment>http://m.tkk7.com/senlin-blog/comments/193075.html</wfw:comment><comments>http://m.tkk7.com/senlin-blog/archive/2008/04/15/193075.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/senlin-blog/comments/commentRss/193075.html</wfw:commentRss><trackback:ping>http://m.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://m.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://m.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://m.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://m.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://m.tkk7.com/images/dot.gif" /> </span> <span id="Codehighlighter1_70_268_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://m.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://m.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://m.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://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />聽聽聽}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://m.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://m.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://m.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://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> </div> <img src ="http://m.tkk7.com/senlin-blog/aggbug/193075.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/senlin-blog/" target="_blank">鎴戠殑java鐢熸動</a> 2008-04-15 13:05 <a href="http://m.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://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://tsxyhq.com" target="_blank">免费无遮挡无码永久视频 </a>| <a href="http://jmzc888.com" target="_blank">亚洲中文字幕无码爆乳AV</a>| <a href="http://41xjj.com" target="_blank">亚洲国产精品久久久久秋霞小</a>| <a href="http://www827556.com" target="_blank">美女被cao免费看在线看网站</a>| <a href="http://hcdigi.com" target="_blank">亚洲国产亚洲片在线观看播放 </a>| <a href="http://cc19123.com" target="_blank">最新仑乱免费视频</a>| <a href="http://7uj3.com" target="_blank">久久亚洲AV成人无码国产电影</a>| <a href="http://172pk.com" target="_blank">午夜免费不卡毛片完整版</a>| <a href="http://91sebo.com" target="_blank">亚洲6080yy久久无码产自国产</a>| <a href="http://zg8k.com" target="_blank">国产在线观看免费视频播放器</a>| <a href="http://zqsplc.com" target="_blank">免费人人潮人人爽一区二区</a>| <a href="http://626393.com" target="_blank">亚洲欧洲精品成人久久奇米网 </a>| <a href="http://xyflash.com" target="_blank">久久精品国产亚洲沈樵</a>| <a href="http://maomaots.com" target="_blank">久久精品国产这里是免费</a>| <a href="http://qqc46.com" target="_blank">亚洲精品在线网站</a>| <a href="http://avxyz.com" target="_blank">毛片免费全部免费观看</a>| <a href="http://zwdyw.com" target="_blank">国产成人亚洲综合a∨</a>| <a href="http://as5566.com" target="_blank">亚洲国产成人爱av在线播放</a>| <a href="http://vip98888.com" target="_blank">成人一区二区免费视频</a>| <a href="http://www456788.com" target="_blank">亚洲欧洲第一a在线观看</a>| <a href="http://eee94.com" target="_blank">91精品免费国产高清在线</a>| <a href="http://18jko.com" target="_blank">亚洲第一综合天堂另类专</a>| <a href="http://cc8n.com" target="_blank">亚洲人成人网站在线观看</a>| <a href="http://8884493.com" target="_blank">免费国产在线视频</a>| <a href="http://rhacu.com" target="_blank">亚洲精品国产国语</a>| <a href="http://thinkchating.com" target="_blank">亚洲成年看片在线观看</a>| <a href="http://zdmaid.com" target="_blank">男人的天堂网免费网站</a>| <a href="http://927ff.com" target="_blank">亚洲精品第一国产综合野</a>| <a href="http://kuaizhuxia.com" target="_blank">国产免费看插插插视频</a>| <a href="http://xianliwang.com" target="_blank">a级在线观看免费</a>| <a href="http://140699.com" target="_blank">亚洲av产在线精品亚洲第一站</a>| <a href="http://tlyyt.com" target="_blank">国产婷婷高清在线观看免费 </a>| <a href="http://33338x.com" target="_blank">亚洲综合丁香婷婷六月香</a>| <a href="http://740740740.com" target="_blank">亚洲AV中文无码乱人伦</a>| <a href="http://k67m.com" target="_blank">中国videos性高清免费</a>| <a href="http://023439.com" target="_blank">色偷偷女男人的天堂亚洲网</a>| <a href="http://mmm19.com" target="_blank">亚洲性日韩精品一区二区三区</a>| <a href="http://ocn888.com" target="_blank">99在线观看精品免费99</a>| <a href="http://bjyaao.com" target="_blank">久久精品国产亚洲AV天海翼</a>| <a href="http://maiertejx.com" target="_blank">丝袜熟女国偷自产中文字幕亚洲</a>| <a href="http://cswsfz.com" target="_blank">97av免费视频</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>