why does spinner gif stop while jquery ajax running?


i'm only starting wean myself asp.net updatepanels. i'm controlling jquery jtemplates bond law web use grid, all works fine.



here's thing: i'm perplexing arrangement spinner gif while list being rested ( la updateprogress asp.net) i've got working, solely spinner frozen. what's going on, i've attempted relocating spinner out transform swell div out page where i whole time. spins spins until modernise starts, stays solidified until modernise done, following starts spinning again. unequivocally wish 'please wait' spinner!



this ie7 - haven't luck exam browsers yet. any thoughts? ajax client-side databinding resource-intensive browser amateurish tend the charcterised gifs?



update



here's formula refreshes grid. certain synchronous asynchronous.



updateconcessions = function(e) {
$.ajax({
type: "post",
url: "concessions.aspx/getconcessions",
data: "{'countries':'ga'}",
contenttype: "application/json; charset=utf-8",
datatype: "json",
success: function(msg) {
applytemplate(msg);
},
error: function(xmlhttprequest, textstatus, errorthrown) {
}
});
}

applytemplate = function(msg) {
$('div#templatetarget').settemplate($('div#templatesource').html());
$('div#templatetarget').processtemplate(msg);
}


update 2



i only checked $.ajax() slight asynchronous default. only kicks i total this



$.ajax({
async: true,
...


and didn't any difference.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members