JavaScript¾µäÓï¾ä¼°Æä»ù±¾Ó¦ÓÃ
¡ö´ò¿ª¡ö
<input name=Button onClick=document.all.WebBrowser.ExecWB(1,1) type=button value=´ò¿ª>
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
¡öÁí´æΪ¡ö
<input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=Áí´æΪ><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
¡öÊôÐÔ¡ö
<input name=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=ÊôÐÔ><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
¡ö´òÓ¡¡ö
<input name=Button onClick=document.all.WebBrowser.ExecWB(6,1) type=button value=´òÓ¡><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
¡öÒ³ÃæÉèÖáö
<input name=Button onClick=document.all.WebBrowser.ExecWB(8,1) type=button value=Ò³ÃæÉèÖÃ><OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
¡öˢСö
<input type=button value=ˢРname=refresh onclick="window.location.reload()">
¡öµ¼ÈëÊղءö
<input type="button" name="Button" value="µ¼ÈëÊղؼÐ" onClick=window.external.ImportExportFavorites(true,);>
¡öµ¼³öÊղءö
<input type="button" name="Button3" value="µ¼³öÊղؼÐ" onClick=window.external.ImportExportFavorites(false,);>
¡ö¼ÓÈëÊղءö
<INPUT name=Button2 onclick="window.external.AddFavorite(location.href, document.title)" type=button value=¼ÓÈëÊղؼÐ>
¡öÕûÀíÊղؼСö
<INPUT name=Submit2 onclick="window.external.ShowBrowserUI(OrganizeFavorites, null)" type=button value=ÕûÀíÊղؼÐ>
¡ö²é¿´ÔÎļþ¡ö
<INPUT name=Button onclick=window.location = "view-source:" + window.location.href type=button value=²é¿´Ô´Îļþ>
¡öÓïÑÔÉèÖáö
<INPUT name=Button onclick="window.external.ShowBrowserUI(LanguageDialog, null)" type=button value=ÓïÑÔÉèÖÃ&g
Ïà¹ØÎĵµ£º
±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔÀ´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷ÔÒò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......
JavaScript Minification JavaScript½ô´Õ
JavaScript minification is the process by which a JavaScript file is stripped of everything that does not contribute to its execution. This includes comments and unnecessary whitespace. The process typically reduces the file size by ha ......
Firebug
Firefox is a popular browser with developers, partially due to the Firebug addon (available at http://www.getfirebug.com/), which was developed initially by Joe Hewitt and is now maintained by the Mozilla Foundation. This tool has increased the productivity of web develop ......
Summary ×ܽá
When web pages or applications begin to feel slow, analyzing assets as they come over the wire and profiling scripts while they are running allows you to focus your optimization efforts where they are needed most.
µ±ÍøÒ³»òÓ¦ÓóÌÐò±äÂýʱ£¬·ÖÎ ......
JSON:
[{"subjecttypeId":"1","subjectName":"67","scope":"1",},{"subjecttypeId":"1","subjectName":"345","scope":"1"}]
JavaScript:
var result = window.eval('(' + JSON+ ')');
for(var p in result){
result[p].subjectName;
alert(result[p] ......