jQuery UI slider - Cannot call method 'addClass' of undefined

后端 未结 7 1408
我在风中等你
我在风中等你 2021-01-07 21:50

I had this old jQuery UI slider that had worked just fine a few months ago, but now I seem to be getting an exception reading: Cannot call method \'addClass\' of undefined.

相关标签:
7条回答
  • 2021-01-07 22:43

    I solved this error by using integers in "min", "max" and "values". Maybe you are setting null values.

    The jQuery Slider specification says:

    • max Number Default:100
    • min Number Default:0
    • value Number Default: 0

    So "values" are an array of numbers.

    0 讨论(0)
提交回复
热议问题