how to check javascript syntax error
问题 Firebug looks not capable to check js syntax error... Is there any good way to do that? Currently I just wrote a js but the firebug didn't show any error but the functionality is totally broken. 回答1: Firebug does do it. Make sure that you have JavaScript Console enabled, you can do so by clicking the Console dropdown and from their select Enabled . You need to press F12 key to open firebug and once you refresh the page, you will see any errors you have in your script in the firebug js console