MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


$(document).ready( function () {
$(document).ready( function () {
     var opt = document.createElement('option');
     /*var opt = document.createElement('option');
     opt.value = 1500;
     opt.value = 1500;
     opt.innerHTML = 'all';
     opt.innerHTML = 'all';


     document.getElementsByName('DataTables_Table_0_length')[0].appendChild(opt);
     document.getElementsByName('DataTables_Table_0_length')[0].appendChild(opt);*/
    alert('Hello');
} );
} );