listview : selected item not highlighting
Hi,
Listview : selected item i highlighted using
$(this).addClass('ui-btn-active').
This works for the first time.
When i select the next item, i need to highlight the second item and remove the highlight of first item.
I stored the first highlighted
$(this) as
var $selectedItem = $(this).
And again i m trying as
$selectedItem.removeClass('ui-btn-active').
But its not working...
Waiting for you guys to reply on my issue.
Regards,
bngk