When user perform a search, these search settings should be saved for future use.

User should fill some form fields and then perform a search. When he perform a new search, the old one should be able, etc, etc.

Im using javascript, jQuery.

How could I do this? 

I mean save it in localmachine, not in database.