[jQuery] Repeating last AJAX action
Hi all,
Another little query requiring assistance :)
I've got an AJAX search form - you type in a search keyword, underneath
the box you get a list of matches and prices. There are also other AJAX
forms for searching by category, drilling down through a category tree,
and searching by series of books - meaning the source of the search
results can be one of a few different searches.
The prices differ according to what sort of customer you've said you are
in another dropdown (there's a trade discount scheme, basically).
If a customer performs a search, they see one set of prices - if they
then change their customer type I'd like to re-execute the last search,
and redisplay the results with the new price. What are people's
recommendations on the best way to go about doing this?
As ever, all help gratefully received :)
Regards,
Michael Price