I use jQuery BlockUI plugin.
http://www.malsup.com/jquery/block/
I want to chage some text after jQuery BlockUI fades out.
Here is my code;
$('#cls').click(function() {
setTimeout($.unblockUI, 0);
$('#status').text("Processing...");
});
But the text changes back even before the fade completes. I want to do it hidden, without being visible, ie the text may be changed only after the fading is complete. How can I do this?
Here is the live demo http://jsfiddle.net/yHCjF/4/
Use onUnblock
callback
onUnblock: function(){
$('#status').text('Processing...');
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.