Is there a way to customize the arrow image used for list items in a jQuery Mobile listview? How can I replace the default grey circle arrow with my own image? Do I need to override jQuery CSS classes for this task? My current setup uses jQuery Mobile 1.1.0RC version. Here is an example of HTML code for list items:
<ul data-role="listview" id="list_id"> </ul>
And here is the JavaScript code I'm using to dynamically add list items:
var ap = "<li data-corners=\"false\" data-shadow=\"false\" data-iconshadow=\"true\" data-inline=\"false\" data-wrapperels=\"div\" data-icon=\"images/next.png\" data-iconpos=\"right\" data-theme=\"a\" class=\"ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-li-has-thumb ui-btn-up-c\"><div class=\"ui-btn-inner ui-li\"><div class=\"ui-btn-text\"><a href=\"index.html\" class=\"ui-link-inherit\">"+
"<img src=\"test_thumb.jpg\" class=\"ui-li-thumb\">"+
"<h3 class=\"ui-li-heading\">Big text</h3>"+
"<p class=\"ui-li-desc\">Smaller text</p>"+
"</a></div><span class=\"ui-icon ui-icon-arrow-r ui-icon-shadow\"> </span</div</li>";
$('#list_id').append(ap);
$('#list_id').listview('refresh');
I've attempted changing the data-icon attribute to use my own image source, but it hasn't been successful. Any guidance and help on this matter would be greatly appreciated since I am relatively new to working with CSS and the jQuery framework. Thank you in advance!