w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Cloned Select Fields Not Working - jQuery Mobile

It's because JQueryMobile is binding javascript actions to display the values on change. BUT, when you clone them, you are losing those events. BUT, i tried just quickly reinitalizing them with ".selectmenu()" and found that causes a problem too because you are cloning them after JQueryMobile has modified them, and reinitalizing them screwes up the UI a bit.

--edit-- looks like cloning enhanced widgets isn't supported. you could use jquery to strip away the enhancements and then call .selectmenu() on the cloned selects to reinitalize them.


© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.