Difference between revisions of "MediaWiki:Common.js"

From Conceptual Reconstructionism Project
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. */


$('span[@linkTarget]').click( function(){ alert('clicked') } );
$('span[@linkTarget]').click( function(){ alert(this.linkTarget) } );

Revision as of 19:40, 5 December 2021

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

$('span[@linkTarget]').click( function(){ alert(this.linkTarget) } );