admin管理员组文章数量:1417459
I want to automatically redirect to another page when I drag a file without pressing the send button. I don't really want anything else on the page except the drag and drop interface. Is this possible? I found a code to redirect when the send button is pressed, how can I rewrite it?
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
setTimeout( () => {
location = '/';
}, 3000 ); // Wait for 3 seconds to redirect.
}, false );
</script>
本文标签: Contact form 7 Multi File Uploadredirect to another pageStack Overflow
版权声明:本文标题:Contact form 7- Multi File Upload - redirect to another page - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745267035a2650664.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论