Why is this jQuery click function not working?
问题 Code: <script src=\"http://code.jquery.com/jquery-latest.min.js\" type=\"text/javascript\"></script> <script type=\"text/javascript\"> $(\"#clicker\").click(function () { alert(\"Hello!\"); $(\".hide_div\").hide(); }); </script> The above code doesn\'t work. When I click on #clicker, it doesn\'t alert and and it doesn\'t hide. I checked the console and I get no errors. I also checked to see if JQuery was loading and indeed it is. So not sure what the issue is. I also did a document ready