首页 > 技术文章 > jQuery prop方法替代attr方法

dongruiha 2019-02-22 10:01 原文

jquery attr()方法获取标签的 checked 会有问题,所以用了 prop() 方法。

推荐阅读