You could either submit the form via Ajax (the form plugin does an
excellent job) or you could just remember the last selected tab in a
cookie. You would need the cookie plugin for it to work.

$('#foo').tabs({
    cookie: { expires: 365 } // number of days
});


--Klaus


On Sep 22, 2:02 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to jQuery but I have been having some problems with Tabs.
>
> My tabs nicely AJAXed and working excellently, however, on one of my
> tabs I have a form which posts to itself.
>
> The form doesn't work (in that if the user enters incorrect data the
> server side checking isn't output) as the when the form is submit the
> page refreshes and displays the first tab...
>
> Any ideas on how I can submit the form, post the data, and then
> display the output on the correct tab without the page disappearing?
>
> Hope you can help,
>
> Cheers,
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to