gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Methods are not working anymor with jquery-ui newer than 1.9.2 #332

Closed LionelMarbot closed 9 years ago

LionelMarbot commented 9 years ago

Hi,

We tried to use .selectOption() to update a drop down, but it would always throw "Uncaught TypeError: Cannot read property 'selectOption' of undefined".

We then found an answer on StackOverflow (http://stackoverflow.com/questions/23731371/selectboxit-how-to-refresh-selected-values-in-selectboxit) demonstrating that it works: http://jsfiddle.net/uXM6Y/2/

However, it only works using jquery-ui 1.9.2. With everything above, it breaks, as you can see here:

http://jsfiddle.net/phdeap57/ http://doc.enuvo.ch/c7c0bb5e42229fe30790fa308f610b4b.gif

Any idea?

Thanks, Lionel

gfranko commented 9 years ago

Check out this previous issue, which should solve your problem: #282

LionelMarbot commented 9 years ago

This does the trick, cheers!