I have problem with my jQuery slider. After I update the value of the slider it does not work anymore and shows an error that says
"Uncaught TypeError: Cannot call method 'addClass' of undefined".
I don't have any idea to figure this out. Thanks!
Here is the sample code:
$("#slider-range").slider({
range:true,
min: minPrice,
max: maxPrice,
values:[ minPrice , maxPrice ],
slide: function( event,ui ){},
change: function( event,ui ){
$( "#amount" ).val( "$" + ui.values[0] + " - $" + ui.values[1] );
}
});
type error: it seems you have an invalid value set to the value of your slider. therefore it cant load - liek putting an int in a string and use it as a boolean - wont never work ...
:)-
cheers
BIEG
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With