I have recently purchased jQuery In Action Second Edition, and I was going through the sample source code(warning: zip file) downloaded from the website.
When I open the ‘jQuery Selectors Lab’ example page from Chapter 2, I don’t see any images or DOM content in Chrome or in Firefox. In the Chrome developer tools console I see the following error message:

Has anybody come across this issue before? How do I resolve it?
Use a software as MAMP and load your files into the httpd folder of the app. Then call your script using the URL localhost/yourscript. It should work 🙂