Html : how to get value of input from form? : <p>I have got the following code:</p>

<pre><code>&lt;form method='POST' onsubmit='javascript:searchAndUpdateGrid(GET_THE_VALUE_OF_INPUT);return false;'
&lt;input type="text" id="inputField" class="form-control" placeholder="Type something..."&gt;
&lt;/form&gt;
</code></pre>

<p>I want to launch the function searchAndUpdateGrid with the value entered by the user in the input field. How can I do that ? (I would like to avoid to get it from Javascript)</p>

<p>Thanks !</p>
