Can't clear the input value after form is submited

前端 未结 4 1295
臣服心动
臣服心动 2021-01-28 14:45

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...



        
4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-28 15:24

    Try setting the input values as blank when the value is submitted.

    Eg, var name = $('input[name=name]').val(' ');

提交回复
热议问题