Using jquery-mobile I am trying to open a second popup (to confirm) from the first popup when the user clicks delete.
I have seen a similar thread with working jsfi
Thanks to @ezanker, I have a solution. Following the popup api link from the other post, I found a simple solution that doesn't involve a plug in.
$(document).on("pageinit", function () {
$('#del').click(function (e) { // e is the event
setTimeout(function () {
$("#popupDelete").popup("open")
}, 100);
});
});
I have a jsfiddle to demo this.