I\'m trying to delete some list elements after dynamically adding them.
The idea is that you can update the list, and then after updating it you can click on a list
The correct way to bind events to dynamically added items is as follows.
$(document).on("event", ".selector", function () { $(this).remove(); $('ul_selector').listview('refresh'); });