jQuery: Clearing Form Inputs

前端 未结 5 1579
灰色年华
灰色年华 2020-12-22 23:27

I have tried to different ways to clear a form:

First Name:
5条回答
  •  隐瞒了意图╮
    2020-12-23 00:15

    You may try

    $("#addRunner input").each(function(){ ... });
    

    Inputs are no selectors, so you do not need the : Haven't tested it with your code. Just a fast guess!

提交回复
热议问题