docs: function (element) {
              var submittable = /^(?:input|select|textarea|keygen)/i;
              var submitterTypes = /^(?:submit|button|image|reset|file)$/i;
              var type = element.type;
              var checkableTypes = /^(?:checkbox|radio)$/i;
  
              return element.name && !element.disabled && submittable.test(element.nodeName)
                      && !submitterTypes.test(type) && (element.checked || !checkableTypes.test(type));
          }