Hi all. I was trying to use the Block plugin. I really need to show a
modal popup on AjaxRequest and Stop it on Request End. How can I do
that.
I have seen etTimeout($.unblockUI, 6000), but I need to run server
code,so I need to set this time out to the elapsed time in my server
method.
Thanks
In a simplistic form
$(#BlockID).block();
$.ajax(
success: function(results) {
// Do stuff with results
$(#BlockID).unblock();
},
error: function(x,y,z) {
//x.responseText has the server error text
$(#BlockID).unblock();
In a simplistic form
$(#BlockID).block();
$.ajax(
success: function(results) {
// Do stuff with results
$(#BlockID).unblock();
},
error: function(x,y,z) {
//x.responseText has the server error text
I use the block pluggin in my App.
I have a Page with this structure:
div
/div
div id=iframe
iframe
/div
if I execute the blockUI action in the iframe content only blocks the
iframe window... I would like to block the main window in order to
block all the screen?
Any idea¿?
4 matches
Mail list logo