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

Top 10 JavaScript Frameworks by Google

 À´×Ô£ºhttp://www.tripwiremagazine.com/tools/developer-toolbox/top-10-javascript-frameworks-by-google.html
Wed, Nov 11, 2009
Development
, Javascript
, Tools




JavaScript – an indispensable part for developing websites and web
pages, whether that is simple pages or professional website, and
whether you are senior or junior. Nowadays, JavaScript frameworks
become more powerful and more specialized; they can do many things in
just a few basic steps.
However, when you decide that you need a JavaScript framework it can
be quite a challenge to figure out which framework to should use, which
framework is best for your needs, … ? This is mainly because there are
so many frameworks out there you can choose from.
In this post, I want to summarize the list of frameworks that Google
assumes most popular, maybe you wonder why it’s Google? Because it’s
the most popular search engine, so I think the results will be most
relevant and accurate to the majority of web developers. Here’s the
list of top JavaScript frameworks by Google, with the keyword: “javascript framework”
.
1. jQuery: The Write Less, Do More, JavaScript Library

Yes, jQuery is really a new kind of JavaScript library, you can write
less but do more; maybe jQuery is the JavaScript framework that have
the biggest collection of plug-ins and add-ons. Some things you should
know:
Current version: 1.3.2
Size: 19 KB
(Minified and Gzipped) and 120 KB
(Uncompressed Code)
Author: John Resig
Tutorials in 19 languages
: 183 (data on 19 October, 2009)
Sites in use
: 1000+
Plugins
: 3.493 (data on 19 October, 2009)
Easy to learn
Support designers very well, by using CSS syntax
A lots of nice and lovely extensions
Great community, maybe largest
Used by millions of website and well known companies like Google,
DELL, CBS, NBC, DIGG, Bank og America, Wordpress, Drupal, Mozilla etc…
2. MooTools &


Ïà¹ØÎĵµ£º

JavaScriptÃæÏò¶ÔÏó³ÌÐòÉè¼Æ(2): Êý×é

 ±¾²©¿ÍתÔØÓÚ£ºhttp://devbean.javaeye.com/blog/404040
»òÐíÄã»áÆæ¹Ö£¬ÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼ÆΪʲô´ÓÊý×鿪ʼ½²Æð£¿ÕâÊÇÒòΪ……Æä¼äµÄÖÖÖÖ¹Øϵ°É……ºÙºÙ£¬ÕâÀïÏÈÂô¸ö¹Ø×Ó£¬ÏÈÀ´¿´¿´ÎÒÃÇÊìϤµÄÊý×éÔÚJavaScriptÀïÃæÊÇʲôÑù×ӵġ£
 
1. ´´½¨Êý×é
 
ÔÚJavaScriptÖÐÓкܶഴ½¨Ê ......

JavaScriptÓï·¨¼¯½õ£¨Èý£©

 String¶ÔÏóµÄ charAt(x)¶ÔÏó ·´»ØÖ¸¶¨¶ÔÏóµÄµÚ¶àÉÙλµÄ×Öĸ
                     lastIndexOf("string") ´ÓÓÒµ½×óѯÕÒÖ¸¶¨×Ö·û£¬Ã»Óзµ»Ø-1
           ......

תÔØ JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ

 1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)> <td>no </table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù
4. oncopy="return false;" onc ......

ÍøÒ³´òÓ¡javascript:window.print()

 
ÔÚ×öB/SÏîÄ¿¿ª·¢Ê±¡£ÄÑÃâ»áÓöµ½ÍøÒ³´òÓ¡ÎÊÌ⣡
±¾ÈËÔÚÍøÂçÉÏËѼ¯ µÄһЩ×ÊÁϹ° ´ó¼ÒʹÓã¡yzitw.com ¡íÍøÂç½£¿Í→ ËѼ¯
¿ÉÒÔÓÃcss¿ØÖÆ£¬¿´ÃÏÀÏ´óдµÄ¡£
@media print
.a {display:block}
.b {display:hidden}
ºÃÏñÊÇÕâÑù¡£°ÑÄã²»Ïë´òÓ¡µÄ²¿·ÖclassÉèΪb
Ê×ÏÈÔÚÍøÒ³ÖÐÌí¼Ó£º
    &n ......

JavaScriptµÄeval(¡°{JSON object string}¡±)ÎÊÌâ

ÔÚ×öAJAXÓ¦Óÿª·¢µÄʱºò£¬ÎÒÃÇͨ³£Ï²»¶°Ñ·þÎñÆ÷¶Ë·µ»ØµÄJSON¸ñʽ×Ö·û´®ÔÚ¿Í»§¶ËµÄ»Øµ÷º¯ÊýÖаÑËü×÷ΪJavaScript´úÂëÖ´Ðв¢ÓÃÒ»¸ö±äÁ¿±£´æÆðÀ´£¬ÒÔ·½±ãʹÓ÷µ»ØµÄÊý¾Ý¡£Í¨³£µÄ×ö·¨¾ÍÊÇvar jsonData = eval(xmlHttp.responseText)¡£Õâ¿´ÆðÀ´ËƺõÒ»Çж¼ÊÇÕýÈ·µÄ£¬µ«µ±ÄãÔËÐдúÂëµÄʱºò£¬Äã»á·¢ÏÖ±¨“invalid labe”´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ