I might be wrong, but I think this is an object made with jquery:
$("#slider").slider({
value:40,
min: 0,
max: 80,
step: 10
});
If it’s not just keep reading and let me know and I’ll correct the question.
I want to get the content of max (80). I’m currently able to get the content of value, but doing exactly the same for max doesn’t return 80.
alert($("#slider").slider("value")); // Outputs 40
alert($("#slider").slider("max")); // Outputs #slider html
How do I get the value stored on “max”?
If you’re talking about the jQuery UI slider, then it’s…
Documentation.