A few things. First of all, I would recommend using the shortcuts/syntax JQuery provides for you. use $. instead of jQuery.
Anyway, just a suggestion there. As for your actual problem, it's really hard to tell without all of your code. Try recreating it on jsbin.com or jsfiddle.net. This type of error usually comes back to incorrect code or events being applied imporperly. Need some code/example before I can help.