[英]How do I redirect the user to another HTML page using my button after checking for email input validation?
[英]I want my html page to redirect to another html page when I submit a certain input how can i do that
強文本當我提交某個輸入時,我需要 html 頁面到 go 到另一個頁面
這可以通過 HTML forms 來完成。 您需要在表單中使用操作(要重定向頁面的位置)和方法(GET,POST)屬性。 例如
<form action="www.example.com" method="post">
<input type="text" name="firstname">
<input type="submit" name="submit">
</form>
單擊提交時,它將重定向到 action 屬性中給出的 URL。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.