SyntaxFix
Write A Post
Hire A Developer
Questions
That works fine. See this fiddle: http://jsfiddle.net/kveAL/
It is possible that you need to declare your jQuery in a $(document).ready() handler?
$(document).ready()
Also, might you have two elements that have the same ID?