search

Home  >  Q&A  >  body text

Hello teacher

$('.list-item i[class*="fa-check"]')

$('.list-item i[class$="checked"]')

What do the *= and $= inside mean?

@smash@smash2044 days ago1182

reply all(1)I'll reply

  • ringa_lee

    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

    reply
    0
  • Cancelreply