Meilleur selection des éléments dans le DOM
This commit is contained in:
parent
6176601532
commit
76995c59cc
@ -21,8 +21,7 @@ $(document).ready(function(){
|
||||
});
|
||||
});
|
||||
|
||||
var slider = $( ".slider-range" )
|
||||
.slider({
|
||||
$("input.slider-range").slider({
|
||||
range: true,
|
||||
create: function(event, ui) {
|
||||
var max = $("#"+$(this).attr('input')).attr('max');
|
||||
@ -34,7 +33,6 @@ $(document).ready(function(){
|
||||
values : [0, 10000000000],
|
||||
slide: function( event, ui ) {
|
||||
var name = $(this).attr('input');
|
||||
|
||||
$( "#"+name ).val( ui.values[ 0 ] + " , " + ui.values[ 1 ] );
|
||||
},
|
||||
step: 10,
|
||||
@ -43,8 +41,8 @@ $(document).ready(function(){
|
||||
set(name, ui.values[ 0 ] + "," + ui.values[ 1 ]);
|
||||
},
|
||||
});
|
||||
$( ".datepicker" ).datepicker();
|
||||
$( ".datepicker" ).datepicker( "option", "dateFormat", "yymmdd" );
|
||||
|
||||
$("input.datepicker").datepicker({ dateFormat: 'yymmdd' } );
|
||||
|
||||
$( "#accordion" ).accordion({
|
||||
autoHeight: false,
|
||||
|
Loading…
Reference in New Issue
Block a user