You'll probably have to maintain the state on your own. I'm currently
rewriting the History plugin, so that you can do:

$.history('add', 'state_name', function {
    // handle, e.g. restore state...
});

--Klaus



On Apr 5, 1:12 am, sbyrne <[EMAIL PROTECTED]> wrote:
> I'm with you regarding the click event, but how does that solve the
> problem of the state of the form (values of the input fields) when it
> was submitted via AJAX?
>
> On Feb 27, 2:43 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
> > History can only work with links because the whole hack relies on
> > changing the fragment identifier of the current address. This is not
> > possible with form submits.
>
> > Workaround: Use a click event that submits the form as an Ajax form.
> > The form plugin makes that pretty easy and maybe you were talking of
> > my history plugin:
>
> >http://stilbuero.de/jquery/history/
>
> > --Klaus
>
> > On Feb 27, 7:54 pm, urbolutions <[EMAIL PROTECTED]> wrote:
>
> > > Is there a good jQuery history plugin that works with form
> > > submissions?
>
> > > Critical part being form posts here. Found one that seems to only work
> > > with click events...need the form posts.
>
> > > Any help would be greatly appreciated!

Reply via email to