https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement

this.editing.dom.container.querySelector('form input[type="submit"]').click();
    let inValid = true;
    [].forEach.call(this.editing.dom.container.querySelectorAll('form input[required]'), (input) => {
        if (input.checkValidity() === false) {
            inValid = false;
        }
    });
    if (!inValid) {
        return;
    }

  

相关文章:

  • 2021-05-20
  • 2021-08-27
  • 2021-08-29
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
  • 2022-12-23
猜你喜欢
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2022-01-11
  • 2022-12-23
相关资源
相似解决方案