Clicking a disabled input or button

后端 未结 9 1456
星月不相逢
星月不相逢 2020-11-28 13:12

Is it possible to click on a disabled button and provide some feedback to the user?

HTML:


         


        
9条回答
  •  猫巷女王i
    2020-11-28 13:58

    disabled elements will not allow the user to interact with them.

    So: no, you can't put an onclick on a disabled button and expect it to fire.

提交回复
热议问题