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;
}
Ïà¹ØÎĵµ£º
1. timeplot
µØÖ·£ºhttp://www.simile-widgets.org/timeplot/
ÏÂÔØ£ºhttp://code.google.com/p/simile-widgets/downloads/list
2.flot
ÊÇÒ»¸öjquery²å¼þ£¬Ð§¹û²»´í¡£
µØÖ·£ºhttp://code.google.com/p/flot/
3.Highcharts
µØÖ·£ºhttp://www.highcharts.com/
ºÃÏñÖ»¶Ô¸öÈËÃâ·Ñ¡£
......
Ò». »ù´¡Æª
1. Javascriptѧϰ±Ê¼Ç1——Êý¾ÝÀàÐÍ
2. Javascriptѧϰ±Ê¼Ç2——º¯Êý
3. Javascriptѧϰ±Ê¼Ç3——×÷ÓÃÓò
4. Javascriptѧϰ±Ê¼Ç4——Evalº¯Êý
5. Javascriptѧϰ±Ê¼ ......
CookiesÊÇÒ»ÖÖÄܹ»ÈÃÍøÕ¾·þÎñÆ÷°ÑÉÙÁ¿Êý¾Ý´¢´æµ½¿Í»§¶ËµÄÓ²ÅÌ»òÄڴ棬»òÊÇ´Ó¿Í»§¶ËµÄÓ²Å̶ÁÈ¡Êý¾ÝµÄÒ»ÖÖ¼¼Êõ¡£CookiesÊǵ±Äãä¯ÀÀÄ³ÍøÕ¾Ê±£¬ÓÉWeb·þÎñÆ÷ÖÃÓÚÄãÓ²ÅÌÉϵÄÒ»¸ö·Ç³£Ð¡µÄÎı¾Îļþ£¬Ëü¿ÉÒԼǼÄãµÄÓû§ID¡¢ÃÜÂë¡¢ä¯ÀÀ¹ýµÄÍøÒ³¡¢Í£ÁôµÄʱ¼äµÈÐÅÏ¢¡£µ±ÄãÔÙ´ÎÀ´µ½¸ÃÍøÕ¾Ê±£¬ÍøÕ¾Í¨¹ý¶ÁÈ¡Cookies£¬µÃÖªÄãµÄÏà¹ØÐÅÏ¢£¬¾Í ......
ÎÒ½ñÌìѧϰÁËÙ¡ÀÏʦ½²µÄJavaScript½âÎöDomÎĵµµÄ֪ʶ£º
Ò»¡¢ ½Úµã·ÖΪ3ÖÖÀàÐÍ£¬ÔªËؽڵ㣬ÊôÐԽڵ㣬Îı¾½Úµã
¶þ¡¢ ²éÕҽڵ㣺
l js´úÂë²»ÄÜдÔÚbodyÔªËØµÄÇ°Ãæ£¬js ´úÂëдÔÚ <head> ½ ......
ÍÆ¼ö¼æÈÝ IE¡¢ FireFox µÄ javascript ÈÕÀú¿Ø¼þ
Ô´´×÷Õߣºº®Óð·ã£¨cityhunter172£©
Ò»¡¢¼ò½éÓëÉùÃ÷
´ËÈÕÀú¿Ø¼þÊÇ CSDN ÍøÓÑ KimSoft µÄ×÷Æ·£ºhttp://blog.csdn.net/kimsoft/archive/2006/05/24/753225.aspx ¡£½çÃæÇåˬ£¬´¿ ......