设置按钮不可点击

设置按钮不可点击

<input type='button' id='switch'>
$('#switch').attr('disabled', true);
$('#switch').attr('disabled', 'disabled');

猜你喜欢

转载自www.cnblogs.com/GetcharZp/p/11711659.html