views:

35

answers:

1

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?

+1  A: 

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

rahul