Closed LionelMarbot closed 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
Check out this previous issue, which should solve your problem: #282
This does the trick, cheers!
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