I am trying to submit a form using get method but I dont want the form to refresh or rather when it reloads I want to maintain the data. There seems to be lot of questions on similar lines but none that I tried helped. I am posting my code here:\[code\]<script type="text/javascript"> function formSubmit() { document.getElementById('form1').submit(); return false; }</script><form id = "form1" method = "GET"> <br> Query: <input name="query" id="query" type="text" size="50" value=""> <input type="button" name="search" value="http://stackoverflow.com/questions/14477244/Get News" onclick = "formSubmit()"></form>\[/code\]I am using python on the server side.Thanks