so I got that part working. Essentially, when I create the page, I have an html form that is set not to display. Then when a user hits the edit button, the existing html fades out, the form fades in, and the update is done with ajax. Then I fade in the return value from the servlet.
Is it a best practice to create a hidden form in that way, or should the jquery build the html form? Can that be done from a template?
It allows you to use a template to create HTML fragments to insert into the DOM (as opposed to building the elements yourself and putting them together). You can almost think of it as a mini-client-side version of JSP.