How to enable a disabled checkbox dynamically?

前端 未结 3 1201
遇见更好的自我
遇见更好的自我 2021-02-04 05:03

Please see here: http://jsfiddle.net/nShQs/

Press the disable button and then the enable button. The checkbox doesn\'t get enabled.

HTML:



        
3条回答
  •  离开以前
    2021-02-04 05:27

    It works,

     x.removeAttribute("disabled");
    

    http://jsfiddle.net/maximos/89wxX/1/

提交回复
热议问题