📅  最后修改于: 2022-03-11 15:02:45.838000             🧑  作者: Mango
//Initialize the slider with the value option specified:
$( ".selector" ).slider({
value: 10
});
//Get or set the slider value, after initialization:
// Getter
var value = $( ".selector" ).slider( "option", "value" );
// Setter
$( ".selector" ).slider( "option", "value", 10 );