MediaWiki:Common.js: Difference between revisions

no edit summary
(Undo revision 29419 by CjjtAdmin (talk))
Tag: Undo
No edit summary
Line 2: Line 2:


$(document).ready( function () {
$(document).ready( function () {
     /*var opt = document.createElement('option');
     var opt = new Option("all", "1500");
     opt.value = 1500;
     $(opt).html("all");
    opt.innerHTML = 'all';
     $('select[name="DataTables_Table_0_length"]').append(opt);
 
     document.getElementsByName('DataTables_Table_0_length')[0].appendChild(opt);*/
    alert('Hello');
} );
} );