MediaWiki:Common.js

From Opasnet
Revision as of 13:05, 16 January 2014 by Juha Villman (talk | contribs)
Jump to: navigation, search
$j(document).ready( function() {


$j('#wpTextbox1').live('keydown', function(e) { 
  var keyCode = e.keyCode || e.which; 

  if (keyCode == 9) { 
    e.preventDefault(); 
    // call custom function here
    insertTags('	','','');
  } 
});

});