Application of built-in behavior: savehistory
HTML file, if you add the <meta name= "save" content= "History" > declaration, enter the data in the text box, and then switch to another page, IE5 will not retain the original data. So use "prev" or "next page" back to the original screen, or "Rearrange" load the original page, text box data, will be cleared.
<meta name= "Save" content= "History" >
<title>xmllover</title>
<body>
<input type= "text" style= "font-size:18" >
<p>
<a href= "Other HTML files" >click me</a>
</p>
</body>
If you want to keep the original data, you must in the text box, apply the built-in behavior---"savehistory"! Of course "savehistory" can also be applied to a different text box. Here is an example of preserving the original data:
<meta name= "Save" content= "History" >
<title>xmllover</title>
<style>
. Saveit{behavior:url (#default #savehistory)}
</style>
<body>
<input type= "text" style= "font-size:18" class= "SaveIt" >
<input type= "text" style= "font-size:18" >
<p><a href= "Other files" >click me</a>
</p>
</body>
Everyone try their own results, you know!! :)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service