I'm working with jQuery Mobile and I tried to refresh a flipswitch but when I try to do
$("#flipEnabled").slider("refresh");
I get an error in the console : Uncaught Error: cannot call methods on slider prior to initialization; attempted to call method 'refresh'
Is there a solution for this issue ?