Reputation: 6552
I have been using jQuery sliders for about a week now without issues in my project, but I just hit an issue.
All 3 are added exact same way (like this):
$('#slider_id').slider({value:100,'slide':function(e, ui){// some code}});
2 work properly
'f is undefined'
) when I drag the slider handleThe only glaring difference I can see is that the one giving the error is inside of a jQuery UI dialog(). Interestingly, when I place it outside of the dialog, it works!
So, wondering if there are known issues with sliders inside dialogs, and/or if there are any workarounds.
Thanks
MORE INFO
Upvotes: 2
Views: 3375
Reputation: 31
I was getting the same error in a similar situation, second slider on page inside a dialog. The error was cause for me by a line setting the sliders value to NaN, after the dialog was opened.
Upvotes: 2