title: Can we create a Javascript confirm box with custom div and message
body: <p>I need a javascript <strong>confirm box</strong> with <strong>customized design and dynamic message</strong>. </p>
  
  <p>My problem is: I need a function to call in that call how can i receive the result of that popup; ( like yes or no). Is that possible?</p>
  
  <p>Code </p>
  
  <pre><code>if (confirm('Are you sure?')){
      //Do the process
  }
  else{ 
      //Show Error 
  }  
  </code></pre>
  
  <p>I want to override that confirm with my custom style</p>