Hi :-) My script: http://pastebin.com/m2b0341e5
I have this form, when I submit it, the php script runs and returns some JSON. The problem is that I want to display the errors on the page with the form, without it clearing any fields, however, whenever the handleResponse function is done it clears the #loaded div completely - the form disappears and the values are lost. How can I avoid this?