Reputation: 13756
I am returning a simple javascriptResult that unhides a div. When I do this, other click events that post ajax will now post twice when clicked. What could be causing this?
Upvotes: 2
Views: 645
Reputation: 187050
Most probably it will be a case of event bubbling. You can stop event bubbling by just giving return false at the end of the function that is being called.
See event bubbing
Upvotes: 1