jQuery Uniform Checkbox does not (un)check

后端 未结 8 1980
借酒劲吻你
借酒劲吻你 2020-12-14 00:15

I am using jQuery Uniform to style inputs/selects etcs. However, the checkbox has stopped working. I am appending data sent from an ajax call. Once it\'s loaded

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-14 01:12

    Just do this:

    $('#checkbox').prop('checked',true).uniform('refresh');
    

提交回复
热议问题