Ok, I\'ve tried every suggestion that I could find, but those values are still there after submitting form and fadeOut. If anyone has a suggestion...
Use the .val() function to clear the values of text , and the html() function to clear the Also, it would be easier to manipulate in jQuery if you give each input an ID.
For example, create a form like this:
Then in your jQuery code:
$("#frmMessage").ajaxForm( function()
{
// Do whatever else you need to do first...
// Fade out the form's container
$("#txtName").val(''); // Clear the value of each box.
$("#txtEmail").val('');
$("#txtMessage").html(''); // Different for textareas!
});