How to have a javascript callback executed after an update panel postback?

Posted by TNunes on Stack Overflow See other posts from Stack Overflow or by TNunes
Published on 2009-07-20T11:11:17Z Indexed on 2010/06/16 12:22 UTC
Read the original article Hit count: 108

I'm using a jQuery tip plugin to show help tips when the user hovers certain elements of the page.

I need to register the plugin events after the page is loaded using css selectors.

The problem is I'm using an ASP.NET Update Panel and after the first postback, the tips stop working because the update panel replaces the page content but doesn't rebind the javascript events.

I need a way to execute a javascript callback after the Update Panel refreshes its content, so I can rebind the javascript events to have the tips working again.

Is there any way to do this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about asp.net-ajax