Javascript ʹÓÃIDE¹¤¾ß½øÐе÷ÊÔ
1. Javascript Debug Toolkit½éÉÜ
JSDT(Javascript Debug Toolkit)ÊÇÒ»¸öÓÃÓÚjavascriptµ÷ÊÔµÄeclipse
²å¼þ£¬ÓÃÓÚµ÷ÊÔjavascript¡£JSDT¿ÉÒÔ¿çä¯ÀÀÆ÷µ÷ÊÔ£¬Ö§³ÖÔÚIE,Firefox,Safari,ChromeµÈÖ÷Á÷ä¯ÀÀÆ÷Öе÷ÊÔ
javascript¡£JSDTÖ§³ÖÉèÖöϵ㣬µ¥²½µ÷ÊԵȵ÷ÊÔ¹¤¾ßµÄ»ù±¾ÌØÐÔ¡£
2. ÈçºÎ°²×°
JSDTÊÇ»ùÓÚeclipse3.2+,jdk1.5+»ù´¡¿ª·¢µÄ£¬Òò´Ë°²×°JSDTǰӦµ±ÏȰ²×°jdk1.5+ºÍeclipse3.2+¡£
JSDTÏÂÔØµØÖ·£ºhttp://code.google.com/p/jsdt/downloads/list
,ÆäÖÐjsdt-1.0.0.zipÊÇJSDTµÄ°²×°°ü£¬ÏÂÔØ°ÑÆäÖеÄÈý¸öjar°ü½âѹµ½eclipseµÄpluginsĿ¼Ï£¬ÖØÆôeclipse¼´¿É¡£
jsdt-simple.swfÊÇÒ»¶ÎʹÓÃjsdtÔÚchromeä¯ÀÀÆ÷µ÷ÊÔjavascriptµÄ¼òµ¥Àý×ӵļÏó¡£
jsdt-ext-desktop.swfÊÇÒ»¶ÎʹÓÃjsdtÔÚsafariä¯ÀÀÆ÷µ÷ÊÔjavascriptµÄ¼Ïó¡£
3.ÈçºÎʹÓÃ
1. ÔÚeclipseÖдò¿ªµ÷ÊÔ¶Ô»°¿ò£¬ÈçÏÂͼËùʾ£º
2. н¨Ò»¸öJavascript Debug£¬ÈçÏÂͼËùʾ
ÔÚurlÖÐÊäÈëÒªµ÷ÊÔµÄurl--±¾µØÎļþÃû»ò·þÎñÆ÷ÉϵÄÎļþÃû(Ö»Ö§³ÖhttpÀàÐ͵Äurl)¡£ÔÚbrowserÊäÈë¿òÖÐÑ¡Ôñä¯ÀÀÆ÷(ie,firefox,safari»òchromeµÈ)
µã»÷µ÷ÊÔºó»á´ò¿ªä¯ÀÀÆ÷£¬£¬eclipseÒ²»áתµ½µ÷ÊÔÊÓͼ£¬²¢´ò¿ªËùÓÐÓõ½µÄjavascriptÎļþ¡£
Èç¹ûûÓдò¿ªjavascriptÎļþ£¬Çë²é¿´µ÷ÊÔ͸ÊÓͼÖÐÊÇ·ñ´ò¿ªÁËDebug ScriptsÊÓͼ
Èç¹ûûÓдò¿ª¸ÃÊÓͼ£¬Çëµã»÷£ºwindow-show view-other->Debug Scripts´ò¿ªDebug
ScriptsÊÓͼ£¬ÔÙÑ¡Ôñµ±Ç°µ÷ÊÔ¶ÑÕ»£¬¼´¿É¿´µ½Debug ScriptsÊÓͼ£¬Ë«»÷Debug
ScriptsÖеÄÎļþ£¬¼´¿É´ò¿ªscriptÎļþ¡£
3. ÉèÖöϵã
ÔÚjsÎļþÖпÉÒÔÉèÖöϵã
ä¯ÀÀÆ÷ÖÐÔËÐе½¸ÃÐÐjsʱ»á×Ô¶¯Öжϣ¬eclipseÒ²»áÍ£Ö¹Ôڸöϵ㣬µÈ´ýÓû§²Ù×÷¡£
4. ÆäËû²Ù×÷
ÒòΪÆäËû²Ù×÷ºÍeclipseµ÷ÊÔÊÇÒ»ÑùµÄ£¬ÕâÀï²»Ôٶི¡£
Ïà¹ØÎĵµ£º
Data Formats Êý¾Ý¸ñʽ
When considering data transmission techniques, you must take into account several factors: feature set, compatibility, performance, and direction (to or from the server). When considering data formats, the only scale you need for comparison is speed.
......
µÚʮՠTools ¹¤¾ß
Having the right software is essential for identifying bottlenecks in both the loading and running of scripts. A number of browser vendors and large-scale websites have shared techniques and tools to help make the Web faster and more efficient. This ......
ÐÂÖÐ……
1¡¢Êý¾ÝÀàÐÍÑéÖ¤ÎÊÌâ
Asp.NetËäÈ»ÓÐÑéÖ¤¿Ø¼þ£¬µ«ÊÇÓÐЩ¸´ÔÓµÄÑéÖ¤»¹Êǵô«µ½·þÎñÆ÷ÉϽøÐУ¬ÓÃjsËٶȺÍÐÔÄܶ¼±È½ÏºÃ
<script>
//¼ì²éÊÇ·ñΪÈÎÒâÊý£¨ÊµÊý£©
function isNumeric(strNumber) {
var newPar=/^(-|\+)?\d+(\.\d+)?$/
alert(newPar.test(strNumber)); }
//¼ ......
The jLayout JavaScript library provides layout algorithms for laying out components. A component is an abstraction; it can be implemented in many ways, for example as items in a HTML5 Canvas drawing or as HTML elements. The jLayout library allows you to focus on drawing the individual components i ......