Ek Nazar Kripa Kar Do Laadli Shree Radhe - Maanya Arora | Lyrics | Mp3 Download

Title Name  - Laadli Shree Radhe Singer Name - Maanya Arora  Lyric -  Print Lyrics ek nazar kripa kar do laadli shree rad...

Add Confirmation Dialog Box in Blogger Blogspot Website

Confirmation popup

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

<button class "confirmationpopup"> Click Here </button>

>> Now open your Theme in HTML Mode.
>> Now paste the code somewhere between <body> ... </body>.

<script>
$(document).ready(function(){
  $(&quot;.confirmationpopup&quot;).click(function(){
      var txt;
  var r = confirm(&quot;Click OK to Download !&quot;);
  if (r == true) {
    txt = &quot;You pressed OK!&quot;;
  } else {
     songWindow.close();
  }
  });
});
</script>

>> Now save the theme.


No comments:

Post a comment