title: How to change the value of search input box to the user input value
body: <p>Here is the code</p>
  
  <pre><code>&lt;form class="navbar-search pull-right header-link" method="post" name="searchportlet" id="searchportlet" onsubmit="window.location.href='/s.nl?ext=F&amp;amp;sc=22&amp;amp;category=&amp;amp;search='+escape(document.forms['searchportlet'].elements['search'].value);return false;"&gt;
      &lt;div class="dowith clearfix"&gt;
          &lt;a href="#" class="left" onclick="window.location.href='/s.nl?ext=F&amp;sc=22&amp;category=&amp;search='+escape(document.forms['searchportlet'].elements['search'].value);return false; return false;"&gt;
              &lt;img alt="" src="/images/search.png" style="margin-top: 5px;"&gt;
          &lt;/a&gt;
          &lt;input name="search" type="text" onsubmit="window.location.href='/s.nl?ext=F&amp;sc=22&amp;category=&amp;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"&gt;
      &lt;/div&gt;&lt;!--End dowith--&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How to retain the search input text entered by user. I need the solution in js or jquery.after form submit search entire store value must replace by the text input by the user </p>