title: How to change windows.confirm callBack event
body: <p>I want to change to the default browser confirm box.</p>
  
  <p>However, I couldn't do this. Can you guide me?</p>
  
  <pre><code>window.confirm = function (message, title, callback, parameter) {    
      var intSonuc = zekiConfirm($(document).attr('title'), message, callback, parameter);
  
      return intSonuc;
  };
  
  function zekiConfirm(strBaslik, strMesaj, callback, parameter) {
      $('body').append('&lt;div class="divAlertBack"&gt;&lt;/div&gt;&lt;div class="divAlertCerceve"&gt;&lt;div class="divAlertCerceveIc"&gt;&lt;span&gt;' + strBaslik + '&lt;/span&gt;&lt;p&gt;' + strMesaj + '&lt;/p&gt;&lt;input id="btnTamam" type="submit" value="Tamam"&gt;&lt;/input&gt;&lt;input id="btnIptal" type="submit" value="İptal"&gt;&lt;/input&gt;&lt;/div&gt;&lt;/div&gt;');
  
      $('.divAlertBack').fadeIn(300);
      $('.divAlertCerceve').fadeIn(300);
  
      $('.divAlertCerceve #btnTamam').click(function () {
          zekiAlertConfirmClose();
  
          return callback;
      });
  }
  </code></pre>