$('.list-item i[class*="fa-check"]')
$('.list-item i[class$="checked"]')
What do the *= and $= inside mean?
总有一天,我要打十个
[attribute*=value] The selector matches every element whose attribute value contains the specified value.
[attribute$=value] The selector matches elements whose attribute value ends with the specified value.
These can be found in the manual. It is recommended that you read the manual first and supplement the basics.
Manual download address: http://www.php.cn/xiazai/shouce
[attribute*=value] The selector matches every element whose attribute value contains the specified value.
[attribute$=value] The selector matches elements whose attribute value ends with the specified value.
These can be found in the manual. It is recommended that you read the manual first and supplement the basics.
Manual download address: http://www.php.cn/xiazai/shouce