翻译结果:
<p>假设我有以下内容:<form method="get" action="something.php">
<input type="text" name="name" />
</form>
<input type="submit" />
我该如何使用位于表单之外的提交按钮提交该表单?我知道在HTML5中有一个submit的action属性,但我不确定它是否完全跨浏览器兼容,如果不兼容,有没有其他方法可以实现这个功能?
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号