when you do the original ajax action, you need to store the variables
about the search somewhere (global variable, cookie, somewhere in the
document) such that when you do the customer type change, it can get
those values and pass them back to the original ajax search function,
making sure to tell it the new customer type....

--adam

On Feb 5, 9:39 am, Michael Price <[EMAIL PROTECTED]> wrote:
> 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

Reply via email to