<!doctype html><html>? <head>? ? <meta charset="utf-8"/>? ? <title>Hello World jQuery!</title>? ? <script src="jquery-3.1.0.min.js"></script>? </head>? <body>? ? <div id="divMsg">Hello World!</div>? ? <input id="btnShow" type="button" value="show" />? ? <input id="btnHide" type="button" value="hidden" /><br/>? ? <input id="btnChange" type="button" value="change content is Hello World, too!"/>? ? <script>? ? ? $("#btnShow").bind("click",function(){? ? ? ?$("#divMsg").show();? ? ? });? ? ? $("#btnHide").bind("click",function(){? ? ? ?$("divMsg").hide();? ? ? })? ? ??? ? ? $("#btnChange").bind("click",function(){? ? ? ?$("#btnMsg").html("Hello World, too!");? ? ? });? ? </script>? </body></html>像這些單詞錯誤開發者工具根本不會報錯 ?, ?才6行代碼就找就找了半天,那以后600行代碼還讓人活不活啊 , 有沒有什么專門幫查錯的工具啊
大家一起來找茬 , javascript有什么自動幫查錯的工具啊?
趙日天l
2016-08-13 23:38:12