HD Video of How To Add Confirmation Dialog Box in Blogger/Blogspot Website on e akhabaar
If you want a confirmation dialog box is to be placed in the website/blog with OK and Cancel option. If click on OK, then the further process will done, if click in the cancel, then the process is cancel.
So go on doing as I say.
How to do
>> First, create a class with any name in the button in which you want the Confirmation box.
Example –
>> Now open your Theme in HTML Mode.
>> Now paste the code somewhere between … .
$(document).ready(function(){
$(".confirmationpopup").click(function(){
var txt;
var r = confirm("Click OK to Download !");
if (r == true) {
txt = "You pressed OK!";
} else {
return false;
}
});
});
>> Now save the theme.
Give your review about How To Add Confirmation Dialog Box in Blogger/Blogspot Website in Comments below