Difference between revisions of "MediaWiki:Common.js"

From Beyond Social
(Created page with "Any JavaScript here will be loaded for all users on every page load.: $(document).ready( function(){ console.log('hello js');} )")
 
Line 4: Line 4:
 
$(document).ready(
 
$(document).ready(
 
function(){ console.log('hello js');}
 
function(){ console.log('hello js');}
 +
)
 +
 +
 +
/* for Editorial_selection Form */
 +
 +
$('span.dynatree-checkbox').click(
 +
function(){ console.log($(this).val() )}
 
)
 
)

Revision as of 13:25, 17 December 2016

/* Any JavaScript here will be loaded for all users on every page load. */


$(document).ready(
function(){ console.log('hello js');}
)


/* for Editorial_selection Form */

$('span.dynatree-checkbox').click(
function(){ console.log($(this).val() )}
)