只需要将文本框的值置为空即可: function resetBtn(){ $("#name").val(""); } 转载于:https://www.cnblogs.com/Dream-huang/p/9141344.html