This is a nice plugin that I've come across that I think would be able to do exactly what you want.
http://malsup.com/jquery/block/ Nalum On Oct 2, 2:35 pm, Cecil Westerhof <cldwester...@gmail.com> wrote: > 2009/10/2 brian <bally.z...@gmail.com>: > > > > > > > > > On Fri, Oct 2, 2009 at 9:11 AM, Cecil Westerhof <cldwester...@gmail.com> > > wrote: > > >> 2009/10/2 brian <bally.z...@gmail.com>: > > >>> I like that idea but another might be to (after the form has > >>> submitted) add a new submit handler for the form that simply returned > >>> false. > > >> The problem with that is that the fields still can be changed. I > >> prefer that this is not possible. A simple method would be to hide the > >> form. But that is not very pleasing to the eyes I am afraid. > > > I suppose it depends on the interface you're working with. Perhaps you > > could fade the form out and display, in its place, a "thank you" (or > > whatever) message. If "something goes wrong" you could re-display the > > form. > > That was what I am thinking about for lack of something better. > I would prefer to hide it only after a succesfull submit. But I expect > it to be mostly succesfull. So it is acceptable. > > -- > Cecil Westerhof