Site Notice

hello, world

Difference between revisions of "User:机智的小鱼君/common.js"

From Project-EPB Commons
Line 1: Line 1:
mw.loader.load('https://common.wjghj.cn/js/InPageEdit');
+
mw.loader.load('https://common.wjghj.cn/js/InPageEdit.v2');
mw.loader.load('https://cdn.bootcss.com/eModal/1.2.67/eModal.min.js');
 
$('#test-btn-1').click(function(){
 
  eModal
 
    .confirm('Do you really want to pass?', 'Question from Gandalf')
 
    .then(function(){alert(true)}, function(){alert(false)});
 
});
 

Revision as of 21:49, 16 October 2019

mw.loader.load('https://common.wjghj.cn/js/InPageEdit.v2');