On my page I have forms which default to .hide() when the page is loaded. These two forms are account creation and login. They are shown to the user once they click the appropriate link (.show()).
Obviously, if there is a failure with either form, I'd like for the form to stay open instead of hiding after the page loads from submitting.
Right now the forms are using simple html form posting to reach the database. Would there be a better way to do this with jquery, which isn't too complicated? (i'm still fairly new to it, but learning)
Thanks