【发布时间】:2015-04-10 08:54:51
【问题描述】:
$('#operatordelivery').attr('checked', true);
嗨,我目前正在将 jQuery 版本迁移到 jQuery-2.1.1,我可以在控制台 JQMIGRATE: jQuery.fn.attr('selected') may use property instead of attribute 中看到警告。我不清楚这个警告解释了什么。谁能告诉我这个错误是什么意思?
【问题讨论】:
标签: javascript jquery