清空form的数据

$("#formId")[0].reset();

原文地址:https://www.cnblogs.com/difme/p/5413324.html