jquery Fuzzy Match ID

Source: Internet
Author: User

[Property name] matches the element containing the given property
[Att=value] matches the element containing the given attribute (case sensitive)
[Att*=value] Fuzzy matching
[Att!=value] cannot be this value
[Att$=value] End is this value
[Att^=value] starts with this value
[ATT1] [ATT2] [Att3] ... Match one of the multiple attribute conditions

=========================================== below for example ================================

                    <ul Id=comparepro>
                         <li id=compare_prod_list_001> Credit card loan Activity products China Construction Bank </li>
                         <li id=compare_prod_list_002> Credit card loan activity products to China Construction Bank </li>
                         <li id=compare_prod_list_003> Credit card loan Activity products China Construction Bank </li>

<li id=other> Other </li>
</UL>

To fetch all IDs starting with Compare_prod_list_ <li>: Var list=$ (' li[id^=compare_prod_list_] ');

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.