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/>"); | ||
}) | }) |