try to remove the onclick event from the div. Basically you are having 2 listeners for the same event one is embedded within the onclick and the second one is $(document).on
Take a look at this: [a link] http://jsfiddle.net/tcbnW/1/ . This is one addition
event.stopImmediatePropagation();
I think this should work.