When I run the script but I get a console error of "too much recursion".
Having lookup up this error it refers to a "infinite loop" but I can't see how my code is in a loop. Can anyone see what I have done wrong.
function clickMe() {
  new jBox('Modal', {
    attach: '.pin',
    width: 1000,
    height: 500,
    title: 'Admin PIN',
    theme: 'TooltipBorder',
    closeButton: 'title',
    draggable: 'title',
    trigger: 'click',
    animation: 'false',
    position: {
      x: 'center',
      y: 'center',
    },
    offset: {
      x: 15,
      y: -10
    },
    onCloseComplete: function() {
      this.destroy();
      $('#jBox-overlay').remove();
    },
    ajax: {
      type: 'post',
      url: 'do_login.php',
      data: ({
        "password": 1951
      }),
      success: function(response) {
        if (response == "success") {
          alert("Correct Details");
        } else {
          alert("Wrong Details");
        }
      },
      reload: 'strict'
    }
  });
};
Many thanks in advance for your time.
 
    