I want to do something very simple. I have one button in my page.
<form action="/process" method="POST">
<input class="btn btn-large btn-primary" type="submit" value='Analyze Topics'>
</form>
Now what I want is when the user presses this submit button. It shows that "loading" gif animation until it gets the response from server.
But I have been struggling since long time.
How do I implement this?