I have a simple ajax/jquery search form which generates the results in a div which is rendered by a controller.. If I resubmit the form, the results below are just replaced, they are not removed first while my loader displays..

I am wondering if anyone knows a way to reset the result div on each submit, so that it clears out and then displays the new results fresh as opposed to just a replace of the existing results.