Hi,
if i have ajax search form and submit different search query 3 times
can i go back and see results for every search separately?


>
> Unless you're submitting forms via Ajax form submits can't be
> "historized" with thehistoryplugin or any otherhistorymanager. All
> these solutions need the fragment identifier of the browser's URL to
> be changed, which can't be done by submitting a form.
>
> But if you're submitting the form via Ajax you can easily enablehistoryfor 
> links that trigger such a submit:
>
> $('a.submit').history(function() {
>     // submit the form
>
> });
>
> Important is that such links point to some fragment identifier, like:
>
> <a class="submit" href="#submit">Submit</a>
>
> The form plugin makes it a no-brainer to implement Ajax forms.
>
> --Klaus

Reply via email to