Page not loading fully after firing a jQuery ajax request -


i facing strange issue where-in webpage not load after firing jquery ajax post request. have webpage gets html data server via web service. used jquery ajax method data. times although data received fully, status bar still shows progress bar , halts there. click on page somewhere, progress bar completes , full page shown. status bar shows loading image , halts. images hardly 1-2 kb , 2-3 on whole page.

previously had set async: false removed no change. appreciated.

update code:

$.ajax({     type: "post",     url: "webserverice/webmethod",     contenttype: "application/json; charset=utf-8",     data: {},     datatype: "json",     success: function(response){         $("#mydivid").html(response.d);         if(response.d !== '') {             $('#lnk').click(function(){                 alert('you clicked link');             });         }     },     error: function(oerror) {         alert(oerror.responsetext);     } }); 

ok. issue resolved. in previous code, had async: false in jquery ajax call. later on made async: true. on win 7 ii 7 worked fine, not on win server 2k8 + iis 7.5. restarted iis , tested , worked fine.

thanks responses gov.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -