code: function (el)
      {
        // Extract the href or the onclick event if no submit event is passed
        if (!this.options.confirm) {
          var submit = el.attr('onclick') ? el.attr('onclick') : (el.attr('href') ? (el.attr('target') ? 'window.open("' + el.attr('href') + '", "' + el.attr('target') + '");'  : 'window.location.href = "' + el.attr('href') + '";') : '');
          el.prop('onclick', null).data('jBox-Confirm-submit', submit);
        }
      }
docs: Triggered when jBox is attached to the element