Because I don't know the exact build and logic of your page, I can't promise you that this will help, but it's worth trying. Instead of using the endRquest, try this:
$("#AssessmentItemFilter1_continuemultiple").live('click', function() {
goToByScroll('#tableResults');
});
function goToByScroll(element) {
var el = $.browser.opera ? $("html") : $("html, body");
el.animate({ scrollTop: $(element).offset().top }, 'slow');
}
Note that this require jQuery 1.3.
Please indicate "Mark as Answer" if a post has answered the question.
Yet another developer blog <-- visit my blog
tpeczek
Contributor
2112 Points
260 Posts
Re: maintaining jquery click function in update panel through PageRequestManager
May 02, 2010 06:22 PM|LINK
Because I don't know the exact build and logic of your page, I can't promise you that this will help, but it's worth trying. Instead of using the endRquest, try this:
$("#AssessmentItemFilter1_continuemultiple").live('click', function() { goToByScroll('#tableResults'); }); function goToByScroll(element) { var el = $.browser.opera ? $("html") : $("html, body"); el.animate({ scrollTop: $(element).offset().top }, 'slow'); }Note that this require jQuery 1.3.
Yet another developer blog <-- visit my blog