ajax clear form after submit code example Example: how to reset form after submit using jquery and ajax $("#cform")[0].reset();