This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Listview('refresh') does not update the icons of list items #8334
Closed
Description
See
http://jsfiddle.net/us0egzdq/1/
I have a listview and would like to change the icon of one of it's entries after initialization (when the user clicks on it). Although the data-icon attribute of the < li > element is changed by the script, the listview('refresh') command will not update the icon class of the nested < a > element, so the new icon does not become visible.
Tested with jQM 1.4.5