This article is a mirror article of machine translation, please click here to jump to the original article.

View: 17541|Reply: 1

[EasyUI] $.messager.alert callback function in easyUI

[Copy link]
Posted on 11/30/2015 10:53:00 AM | | | |
$.messager.alert in EasyUI is very strange and can be executed at the same time as the following statement, as shown in the figure below:



  1. $.messager.alert('提示', '添加成功!');
  2. alert("aaa");
Copy code
If we want to click OK and then pop up aaaa, then we need a callback function, as follows:

  1. $.messager.alert('提示', '添加成功!', 'info', function () {
  2.                            
  3.                             alert("aaa");
  4.                         });
Copy code






Previous:【2015.11.27】The forum cleaned up more than 900 inactive users
Next:opencv appears img/pos.txt(1) : parse errorDone. Created 0 samples
 Landlord| Posted on 12/23/2016 9:23:07 AM |
Nice $.messager.alert method
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com