jQuery BlockUi Message after another

前端 未结 2 1814
暖寄归人
暖寄归人 2021-01-06 11:03

I\'m using jQuery BlockUI plugin, and i have been able to sucessfully show a single message in the page, however... let\'s say that I want to show 3 messages , one after ano

2条回答
  •  迷失自我
    2021-01-06 11:44

    This does not work when you have some callback function is being called on onBlock or onUnBlock, for example like this:

    $.blockUI({ message : 'your new message', onBlock : callbackFunction });

    An alternative to this would be, just call blockUI again with a different message:

    $.blockUI({ message: 'New message' });

提交回复
热议问题