一個CSS樣式控制和一個META標籤即可實現IE提交表單記錄歷史,點擊返回資訊仍在,需要的朋友可以參考下
主要是一個CSS樣式控制和一個META標籤;
代碼如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <!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>
|
登入後複製
更多CSS控制實作IE提交表單記錄歷史點擊返回資訊仍在相關文章請關注PHP中文網!