I am using a jqm 1.3 Listview, and I am successfully capturing onClick.
function handle_onClick( )
{ jQuery( "#my_panel li" )
.each( function( )
{ jQuery( this ).attr( 'data-theme' , "a" ).trigger('refresh') ;
}) ;
}
see fiddle (EDIT: updated fiddle)
BUT the data-themes of the <li>
's are not being updated.
In practice my <li>
's will not be using the same theme.
Is there a way to pro-grammatically change them, individually?