在这种如何保持表单数据甚至submiting不dispear
<form method="POST" action="">
<input type="text" class="field small-field" name="tex1" />
<input type="submit" value="search" name="search"/>
<input type="submit" value="print" name="print"/>
</form>
我提交表格后后,页面刷新,数据输入文本内获得空白
是否有可能保持数据提交后甚至?
问候。
阿贾克斯的Heared ... :-) http://api.jquery.com/jquery.ajax/ – 2014-09-22 09:21:14
有答案同一主题http://stackoverflow.com/questions/7014146/how-to -remember-input-data-in-the-forms-even-after-refresh-page – Maantje 2014-09-22 09:21:42
@웃웃웃웃웃可能没有人听说过听过ajax的人。 – 2014-09-22 09:36:17