Difference between revisions of "MediaWiki:Common.js"
From Beyond Social
| Line 9: | Line 9: | ||
/* for Editorial_selection Form */ | /* for Editorial_selection Form */ | ||
| − | $(' | + | //get issue check boxes |
| − | function(){ console.log( | + | var checkboxes = $('input.createboxInput[value*="Issue"]'); |
| + | |||
| + | checkboxes.click( | ||
| + | function(){ console.log('clicked' );} | ||
| + | |||
) | ) | ||
Revision as of 12:47, 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 */
//get issue check boxes
var checkboxes = $('input.createboxInput[value*="Issue"]');
checkboxes.click(
function(){ console.log('clicked' );}
)