Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top