I have a partial view need register several event callback functions for it, however whenever I refreshed the partial to load new data, the elements which have been registered with event callbacks will lost the registration, how should I handle this and if I use jQuery auto refresh function like:
var auto_refresh = setInterval(
function () { $('#DivId').load(URL); },
10000
);
which will refresh a partial within DivId, how can I register callbacks then…Please help..
Use Jquery live, this will help you.
Example: