SyntaxFix
Write A Post
Hire A Developer
Questions
put your javascript at the bottom of the page (ie after the element getting defined..)