Hi, I have a listview that when clicked on calls a function to disable that option. When I click the reset button it re-enables all the options in the list but any options that have been previously selected stay the same colour as if they have been selected rather than reverting back to its natural colour.
The only way to get it back to its original colour is by running the mouse over them.
It's getting disabled before the user leaves the button with the mouse. When you disable it you should also trigger mouseout.
Example: After disabling call element.trigger("mouseout"); where element is either $("#myid") or $(".myclass"). Might have to call a listview refresh after it as well. If so it's element.trigger("mouseout").listview("refresh"); assuming it's on a listview.
Hope this helps.
Leave a comment on haga0054's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic