div not being selected when pound sign is appended
问题 For debugging purposes, this is what I tried to type in Chrome Console: $("#loading") > null But if I do this, it correctly retrieves the div: $("loading") > <div id="loading" align="center" style="display: none;"> I'm using jquery-1.4.1.min.js. <script type="text/javascript" src="../../js/jquery-1.4.1.min.js"></script> This doesn't make sense to me, why can I not select a div by # sign but I can when I exclude it? Edit: Sorry, huge fail on my part. I meant the other way around. Please see