how to color selected list item containing grid and labels?
hello i have a problem with list item. I found a similar post in https://getsatisfaction.com/tiggzi/to...
I tested the code proposed in that post: code$(document).ready(function() {
$("li.ui-li-static").removeClass("ui-li-static").addClass('ui-btn').data('theme', 'a').attr('data-theme', 'a');
});
/code
But i would like to have the selected item colored in a different color when it is tapped.
I'm working with the old version of tiggzi and i can not change the button down color of any standard jquery mobile theme.
I tried to add a custom swatch in the jquery mobile theme with a differnt color for button down, but if i try to change the code ...data('theme', 'a').attr('data-theme', 'a'); with ....data('theme', 'my_swatch').attr('data-theme', 'my_swatch'); it does not work
is there any way to obtai a list with gray color for every list item and blue color for the selected (button down) one, like in
http://jquerymobile.com/demos/1.2.1/d...