Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

Difference between revisions of "MediaWiki:Common.js"

From NoSQLZoo
Jump to: navigation, search
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
$(".q").each(function(){
 
$(".q").each(function(){
     $(".def",this).after("<button/>");
+
     $(".def",this).after("<button/>" {text:"Run", "class":"run"}, click:function(){
 +
       
 +
    });
 
     $(".def",this).after("<textarea/>");
 
     $(".def",this).after("<textarea/>");
 
})
 
})

Revision as of 11:36, 9 July 2015

/* Any JavaScript here will be loaded for all users on every page load. */
$(".q").each(function(){
    $(".def",this).after("<button/>" {text:"Run", "class":"run"}, click:function(){
        
    });
    $(".def",this).after("<textarea/>");
})