I want to reset the <div id="slider"> on clicking certain button.
<div> contains the slider (not important here).
is there any function like $(#slider).reset() or $(#slider).clear() or anything that clears the slider <div>?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can set a value, e.g. the minimum for this slider (
0):Also see this example.
To set to the maximum:
Also see my updated example.
=== UPDATE ===
I’ve updated my example once more. Now you can alert the current value and set the maximum to 30 too: