JQuery UI Slider Uncaught TypeError: Cannot read property 'addClass' of undefined
Give your variables (window.settings.principal.*
) another look. I just copied your source code, replaced them with my own, and it worked, so your code seems to be fine. Make sure that they're not only valid numbers, but that they make sense in context.