Home  >  Article  >  Web Front-end  >  CSS control implements IE submission form record history click return information is still there

CSS control implements IE submission form record history click return information is still there

高洛峰
高洛峰Original
2017-03-02 15:07:241243browse

A CSS style control and a META tag can realize IE submission form recording history, click to return the information is still there, friends in need can refer to it below Mainly a CSS style control and a META tag;

The code is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<META NAME="save" CONTENT="history"> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<style> 
input{ 
behavior:url(#default#savehistory); 
} 
textarea{ 
behavior:url(#default#savehistory); 
} 
</style> 
<title> ex1 </title> 
</head> 
<body> 
<input name=t1 type=text style="font-size:18">我的信息都还在 

<input name=t2 type=text style="font-size:18"> 
<input type="radio" name="rd" value="1" /> 
<textarea name="tx" id="tx"></textarea> 
<p> 
<a href="http://www.baidu.com"> click here </a> 
</p> 
<body> 
</html>


More CSS controls implement IE submission form record history clicks The return information is still related to the article, please pay attention to the PHP Chinese website!


Statement:
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