Disabled button still listens to click event

前端 未结 8 2569
感动是毒
感动是毒 2021-02-19 04:53

I have a problem in a form where I do some jquery validations. If a specific input field is not filled out, it should disable a \"step forward\" button by adding a disabled attr

8条回答
  •  半阙折子戏
    2021-02-19 05:19

    The disabled property only applies to form elements. This means that unless the .btn-move-forward element is a

提交回复
热议问题