 jQuery(document).ready(function( $ ){        jQuery(".daterangepicker .table-sub-header .day-off-week").each(function() {              var lundi = jQuery(this).text();             lundi = lundi.replace("Mo", "L");             jQuery(this).text(lundi);                  var mardi = jQuery(this).text();             mardi = mardi.replace("Tu", "M");             jQuery(this).text(mardi);                                  var mercredi = jQuery(this).text();             mercredi = mercredi.replace("We", "M");             jQuery(this).text(mercredi);                        var jeudi = jQuery(this).text();             jeudi = jeudi.replace("Th", "J");             jQuery(this).text(jeudi);                        var vendredi = jQuery(this).text();             vendredi = vendredi.replace("Fr", "V");             jQuery(this).text(vendredi);                        var samedi = jQuery(this).text();             samedi = samedi.replace("Sa", "S");             jQuery(this).text(samedi);                        var dimanche = jQuery(this).text();             dimanche = dimanche.replace("Su", "D");             jQuery(this).text(dimanche);                    });       });