Where Do I Put Jquery .fade() Function In Ajax Success Callback?
I have an ajax call that is populating a portion of my page with the html it returning in the success callback: function LoadCurrentCourses(masterKey, status) { status = 'S'; $.aja
Solution 1:
You should load the text before fading in
success: function (evt) {
$('#currentCourses').html(evt);
$('#currentCourses').fadeIn(1500);
},
You may also need to fadeout or hide that container before fading in, or it will appear to do nothing and just load the new data.
Post a Comment for "Where Do I Put Jquery .fade() Function In Ajax Success Callback?"