提交动作后自动向下滚动 [英] Automatically scroll down after submit action

查看:56
本文介绍了提交动作后自动向下滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从位于页面底部的联系表发送电子邮件后,如何使我的网站自动向下滚动?
有关成功发送或错误的信息出现在表格下方,单击提交按钮页面后刷新,用户只能看到站点顶部,而不能看到底部...

How to make my website automatically scroll down after sending e-mail from "Contact Form" which is located on the bottom of my webpage? Information about successful sending or error ouccurs below the form and after clicking that 'submit' button page is refreshing and user can see only top of the site, not the bottom...

推荐答案

<form id="form" action="{your_action}#form">
....
</form>

这篇关于提交动作后自动向下滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆