chrome extension popup.js is not working
问题 I have a popup.html that looks like this <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <link type="text/css" rel="stylesheet" href="css/fbh-ui.css" /> <script type="text/javascript" src="js/jq.js"></script> <script type="text/javascript" src="js/fbh-popup.js"></script> </head> <body style="width: 200px"> <div id="fbh-main"> <div id="fbh-popup-enabled"></div> </div> </body> And fbh-popup.js looks like this $('#fbh-popup-enabled').html(