MediaWiki:Common.js: Difference between revisions

From CJ-JT Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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. */


$(document).ready( function() {
$(window).on( 'load', function() {
   $('label select').load( function() {
   $('label select').load( function() {
     var opt = new Option("all", "1500");
     var opt = new Option("all", "1500");

Revision as of 16:00, 24 April 2023

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

$(window).on( 'load', function() {
  $('label select').load( function() {
    var opt = new Option("all", "1500");
    $(opt).html("all");
    var t = $('label select[name="DataTables_Table_0_length"]').append(opt);
    console.log(t);
  } );
} );