Hello everyone
I m setting up 5 sliders using jQuery UI in a form like this:
$(".slider").slider({
step: 1,
min:0,
max:10,
value: 5,
start: // start logic,
slide: function(event, ui) { //slide logic },
stop: function(event, ui) { //stop logic }
});
The sliders are part of a form with other fields like name, email etc. When the form is submitted and i show the form with possible errors the sliders reset back to 5 (default value). Is it possible instead of resetting to show the values assigned by the user?