I am wondering if calling the same slider object twice (or more) creates two different objects? Do I need to first destroy the original before calling the other? How do I check if two slider objects exists using Firebug/Chrome console?
html:
<div id='test-slider'></div>
javascript:
$('#test-slider').slider({
value: test_value,
min: 0,
max: 10,
step: 1
});
$('#test-slider').slider({
value: test_value_2,
min: 0,
max: 100,
step: 10
});
Thanks!
No, it sets the first slider object to the value of whatever you use in the second time you call it.