如何在没有JS的页面加载或提交按钮的情况下发布表格数据?
我有一个特定的用例,其中我的页面位于iframe
内的另一个域上。
我必须在iframe
内进行http post
对预定义的URL(跨域,不必担心CORS),以便主机可以关闭iframe
我可以免费使用JS Hassle做到这一点。
在没有JS的情况下,我该如何实现(如果禁用JS),而无需单击提交按钮。
I have a specific use case where my page is on another domain inside an iframe
.
I have to do a HTTP POST
inside the iframe
to a predefined URL(cross domain, Don't worry about CORS) so that the host can close the iframe
I could do this with JS hassle free.
How can i achieve this without JS (In case the JS is disabled) and without a submit button click.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论