[jQuery] Re: Trying to Ajax-swap two forms

2007-11-30 Thread howardk
That's it! Thanks Wizzud. Here's the code that works. You can also replace all the hide() and show() pairs with toggle()'s and that works fine too. There's a minor issue of the display flickering on the first two transitions, but I suspect I can't do much about that. Howard $( '#panel-2' ).hide

[jQuery] Re: Trying to Ajax-swap two forms

2007-11-30 Thread Wizzud
Return false from your submit() functions, otherwise the form does actually get submitted and makes anything you try do with ajax superfluous. On Nov 30, 4:55 am, howardk <[EMAIL PROTECTED]> wrote: > Hi, I think I'm missing something obvious. I'm trying to save screen > real-estate and have a sea