Disable button in jQuery

后端 未结 11 1727
时光说笑
时光说笑 2020-11-28 02:04

My page creates multiple buttons as id = \'rbutton_\"+i+\"\'. Below is my code:

11条回答
  •  孤城傲影
    2020-11-28 02:19

    For Jquery UI buttons this works :

    $("#buttonId").button( "option", "disabled", true | false );
    

提交回复
热议问题