mercredi 30 avril 2014

Modal dialog to show when link is clicked and button to point to window.location


Vote count:

0




I have a "Delete Account" link. I want to show a dialog box confirmation when this link is clicked.


See: http://ift.tt/PSrOFb


The problem is that in this code, the confirmation "Are you sure you want to delete your account?" is already showing.


I also want to show the dialog box with the Delete button linking to:



window.location = bender.base_url + '?page=user&action=delete&id=' + bender.user.id + '&secret=' + bender.user.secret;


and the Close button to simply close the dialog box.


I wanted to make it look like this: http://ift.tt/R25SZo


Would really appreciate any help. Thanks!



asked 2 mins ago






Aucun commentaire:

Enregistrer un commentaire