views:

104

answers:

2

When you do an update with update panel I loose all my jquery elements that attached them too the elements of the DOM inside the update panel. Is there a way to reattach these when update panel fires?

+1  A: 

This is happening because the elements you had previously attached functions to are replaced by new elements by the ASP.NET update panel. Consider using jQuery's live() utility function.

Nick Riggs