error message “$ is not defined”

Check the jQuery version: Ensure that you are using a compatible version of jQuery. In your case, you are referencing jQuery 1.3.2. Consider upgrading to a newer…