I'm following through the chapters of this book, and had success replicating the example website from the book, but the exercises from the JQuery chapter aren't working, and I can't find out why.

My code is EXACTLY as shown in the book, for both the website pages and the common.js file. But, I went ahead and tried copy and pasting the provided book code for the .js file, but that was redundant because I had typed that code the same.

A few of the provided text fields do get their example text from the common.js functions, so the contact.html page is retrieving the javascript just fine, but I don't understand why the rest of the input fields, and the caption-hiding for the gallery page, just aren't working.

I've viewed these pages in current versions of Firefox and Chrome, from both my hard-drive stored page, and the same page uploaded to my live server.

If there is any other aspect I didn't mention where things could go wrong, please ask. I just don't know what else to look for.