Home > Web Front-end > HTML Tutorial > Detailed graphic and text explanation of how the page refreshes and does not jump after the share form is submitted.

Detailed graphic and text explanation of how the page refreshes and does not jump after the share form is submitted.

零下一度
Release: 2017-06-27 14:47:56
Original
3377 people have browsed it

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ":www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Form提交表单页面不跳转</title> 
</head> 
<body> 
<form action="" id="" method="post" target="id_iframe"> 
<input type="text" id="input_text" name="input_text"/> 
<input type="submit" id="sobmit" name="submit" value="提交" /> 
</form> 
<iframe id="id_iframe" name="id_iframe" style="display:none;"></iframe> 
</body> 
</html>
Copy after login

Run results
(1) Enter "451" and click "Submit"

Detailed graphic and text explanation of how the page refreshes and does not jump after the share form is submitted.

(2) Enter "45464646" and click "Submit"

Detailed graphic and text explanation of how the page refreshes and does not jump after the share form is submitted.

Page submission refresh, no jump


The above is the detailed content of Detailed graphic and text explanation of how the page refreshes and does not jump after the share form is submitted.. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template