Delete confirmation popup dialog inside a block.

Permalink
How do I invoke a popup dialog for delete confirmation inside a block? I have a button that deletes a textbox and I'd like to present the users with a confirmation dialog before deleting the element.

BlueFractals
View Replies: View Best Answer
BlueFractals replied on at Permalink Reply
BlueFractals
alert() in jQuery does it!

BUT it does not have Cancel button. Any idea?
cgrauer replied on at Permalink Best Answer Reply
cgrauer
try confirm() instead of alert().
http://www.w3schools.com/js/js_popup.asp...
BlueFractals replied on at Permalink Reply
BlueFractals
You are right. Why didn't I think about that.... Thanks.