The datepicker is a common object that can be used to automate the user picking a date. It also takes care of the need for any protections since the user is selecting a date from a list of values that we provide, rather than being able to insert anything they want.
Другими словами, это встроенный объект, представляющий собой календарик.

$(function() {
$('#dateEntry').datepicker();
});
_____________________________________________________________________________________
Slider
Sliders can allow the user to select values without having to enter it themselves, just like a datepicker but it works better for more linear data.
Since it is a jQuery UI component and not a normal HTML input we have to get the value of the slider out by calling slider("value") after selecting the slider with jQuery.
$(function() {
$("#slider").slider({
stop: function ( event, ui ) {
$('#slider').slider("value");
$('#volume').html( $('#slider').slider("value") );
}
});
});
- To get the value of the slider use $('#slider').slider("value").
- Then you should put the value in the .html() like this: $('#volume').html( $('#slider').slider("value") )

_____________________________________________________________________________________