Object expected

On this page i keep getting the error message:
Object expected line:

Line 112: is

$('a.poplight[href^=#]').click(function() {

the address is site
click Join Us at the bottom of the page (footer). This link works on all the other pages except this one.Can someone point out where it is i have gone wrong please?

This error is sorted now! I forgot to include the script source:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>

Try executing your code after document has been created, not during its creation. Like this:


assign your onclick event here