This helped me after spending couple of hours i figure it out. I programatically clicked the button in jquery
$('#btnReset').on('click', function (e) {
$(".ui-icon-delete").trigger('click');
});
for details http://demos.jquerymobile.com/1.0a2/experiments/api-viewer/docs/trigger/