如何刷新页面的同时保存页面控件的输入值

<textarea cols="50" rows="15" name="code" class="xhtml">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;/&gt; &lt;meta name=&quot;save&quot; content=&quot;history&quot;&gt; &lt;title&gt;&lt;/title&gt; &lt;mce:style type=&quot;text/css&quot;&gt;&lt;!-- input{behavior:url(#default#savehistory)}; --&gt;&lt;/mce:style&gt;&lt;style type=&quot;text/css&quot; mce_bogus=&quot;1&quot;&gt;input{behavior:url(#default#savehistory)};&lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;DIV style=&quot;float:left&quot; mce_style=&quot;float:left&quot;&gt; &lt;ul&gt; &lt;li&gt;&lt;label style=&quot;width:100px&quot;&gt;hhhhh&lt;/label&gt;&lt;input type=&quot;text&quot; &gt;&lt;/li&gt; &lt;li&gt;&lt;label style=&quot;width:100px&quot;&gt;sssssssssss&lt;/label&gt;&lt;input type=&quot;text&quot; &gt; &lt;/li&gt; &lt;/ul&gt; &lt;/DIV&gt; </textarea>

你可能感兴趣的:(html,url,input,float,behavior)