Clear text field value in JQuery

前端 未结 15 1436
情书的邮戳
情书的邮戳 2020-12-05 12:26

I understand this is an easy question but for some reason this just isn\'t working for me. I have a function that is triggered everytime a drop down menu is changed. Here

15条回答
  •  一整个雨季
    2020-12-05 13:04

    You are comparing doc_val_check with an empty string. You want to assign the empty string to doc_val_check

    so it should be this:

    doc_val_check = "";

提交回复
热议问题