Common.js: Difference between revisions
From NoSQLZoo
No edit summary |
No edit summary |
||
| 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 10: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/>");
})