$('.list-item i[class*="fa-check"]')
$('.list-item i[class$="checked"]')
What do the *= and $= inside mean?
ringa_lee2019-04-28 10:35:19
[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