Topic: Repeat an AJAX search request
I've built a member-management tool. In the list-view, you have a textfield, where you can
enter a search term and you have and advanced search where you can search only in some columns. The request is sent to the server via ajax and the server sends back the new list.
Now I've implemented a sort-function, which also uses ajax. The user can select fields, which will be in the :order term. When the user makes a change to the fields he wants to sort, the change is also submitted via ajax.
Now the member list should also update, to show the new order. But therefor I've to know, how the last search request was like, so that I can repeat it with the new order.
Whats the best way to save the last search-request and then repeat it?
Thanks in advance!