这是代码
<form class="navbar-search pull-right header-link" method="post" name="searchportlet" id="searchportlet" onsubmit="window.location.href='/s.nl?ext=F&sc=22&category=&search='+escape(document.forms['searchportlet'].elements['search'].value);return false;">
<div class="dowith clearfix">
<a href="#" class="left" onclick="window.location.href='/s.nl?ext=F&sc=22&category=&search='+escape(document.forms['searchportlet'].elements['search'].value);return false; return false;">
<img alt="" src="/images/search.png" style="margin-top: 5px;">
</a>
<input name="search" type="text" onsubmit="window.location.href='/s.nl?ext=F&sc=22&category=&search='+escape(document.forms['searchportlet'].elements['search'].value);return false; return false;" onfocus="if (this.value == 'Search entire store...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search entire store...';}" value="Search entire store..." class="right textfield" id="search_input">
</div><!--End dowith-->
</form>
如何保留用户输入的搜索输入文本。我需要 js 或 jquery 中的解决方案。表单提交后搜索整个商店值必须替换为用户输入的文本