I have a listview click event: http://jsfiddle.net/w2JZU/260/
$('#todayvalue').children('li').on('click', function () {
var selected_index = $(this).attr('id');
alert('Selected Index = ' + selected_index);
});
This method works well on jquery mobile. But when I deploy it onto PhoneGap javascript files, this error would show up.