Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaScriptÊý×ÖÑéÖ¤

×¢Òâ:×îºÃ²»ÒªÊ¹ÓÃisNaN()·½·¨,ÒòΪÈç¹ûÒ»¸ö×Ö·ûÊǿոñµÄÇé¿öÏÂ,ËüÒ²»á°ÑËüµ±³ÉÊý×Ö.Äã±ØÐë´¦Àí¿Õ¸ñµÄÎÊÌâÁË.
ºÇºÇ,Æäʵ´¦Àí¿Õ¸ñµÄÎÊÌâÒ²²»ÄÑ,¸ü¼òµ¥µÄ·½·¨´¦ÀíÊý×ÖÎÊÌâÈçÏÂ:
-------------
function isNumber(str){
    var mynumber="0123456789";
    for(var i=0;i<str.length;i++){
        var c=str.charAt(i);
        if(mynumber.indexOf(c)==-1){
            return false;
        }
    }
    return true;
}


Ïà¹ØÎĵµ£º

dygraphs——Ò»¸öºÜìŵÄJavaScript ͼ±í¿â

    dygraphs Ö÷ÒªÓÃÀ´ÏÔʾÃܼ¯Êý¾Ý¡£ËùνһͼʤǧÑÔ£¬dygraphs Éú³ÉµÄͼ±í¿ÉÒÔËæ×ÅÊó±êλÖÃÏÔʾÊý¾Ý£¬ÍÏ×§·Å´ó£¬Ë«»÷ËõС¡£
    dygraphs ÒÀÀµHTMLµÄ<canvas>±êÇ©£¬¶øÕâ¸ö±êǩ΢ÈíµÄIE ǡǡ²»Ö§³Ö¡£¹Ù·½ÍøÒ³ÉÏ˵û¹ØÏµ£¬ÄãÖ»Òª°üº¬Ò»¸ö½Ðexcanvas µÄJavaScript. ¿â¾ÍÐÐÁË£¬µ«¾ÝÎÒ²âÊ ......

JavaScriptÎļþÒýÓÃJavaScriptÎļþµÄ·½·¨

·½·¨Ò»£º
Js_file01.js 
========
//³ÌÐò´úÂë
document.write(" <script  language=\"javascript\"  src="\/com\/ Js_file02.js \"  > <\/script>"); 
 
·½·¨¶þ£º
html´úÂë
³ÌÐò´úÂë
<html>
<body>
<input type="button" value="ok" onclick="ja ......

javascript framework£¬ JS³£Óú¯Êý£¨·½·¨£©£¬jQuery

//Register NameSpace for window.MSN
if(!window.MSN)
{
    window.MSN = {};
}
if(!window.MSN.SET)
{
    window.MSN.SET = {};
}
if(!window.MSN.SET.Utilities)
{
    window.MSN.Utilities = {};
}
//Check you borwse type
//IE7 &IE8 & FF et ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ