title: Find out if the form was submited or the page was refreshed
body: <p>I am using a form to search for some date. The form uses GET method for date retrieval.</p>
  
  <pre><code>&lt;form action="" method="GET"&gt;
    ...
    &lt;div id="search_button"&gt;&lt;input type="submit" value={% trans 'Search' %} name="search"&gt;&lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How could I know whether the submit button was pressed or the page was refresed?</p>