ListItem Issue
I have been using the following code for about a year. If I use the iOS7 theme the data icon is appearing when it should not. I believe the element.next().remove() should take care of that but it no longer works.
Any ideas?
if (value == 'true'){
var listItem = element.parent();
listItem.attr('data-role', 'list-divider');
listItem.attr('role', 'heading');
listItem.removeClass();
listItem.addClass('mobilelistitem1 ui-li ui-li-divider ui-bar-b');
element.next().remove();
}