Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>1.<b>jQuery Attribute Starts With Selector</b></p> <p>On jQuery, "<b>Attribute Starts With Selector</b>" selects elements that have the specified attribute with a value beginning exactly with a given string.</p> <pre><code> jQuery('[attribute^="value"]') </code></pre> <p>If you want to remove the divs which 'id' starts with "ABC_", your code goes something like this:</p> <pre><code> $('div[id^="ABC_"]').remove(); </code></pre> <p>The document is here <a href="http://api.jquery.com/attribute-starts-with-selector/" rel="nofollow">http://api.jquery.com/attribute-starts-with-selector/</a></p> <p><br> 2. <b>jQuery Attribute Ends With Selector</b></p> <p>Similarly,"<b>Attribute Ends With Selector</b>" selects elements that have the specified attribute with a value ending exactly with a given string.</p> <pre><code> jQuery('[attribute$="value"]') </code></pre> <p>If you want to remove the divs which 'id' ends with "_ABC", your code goes something like this:</p> <pre><code> $('div[id$="_ABC"]').remove(); </code></pre> <p>The document is here <a href="http://api.jquery.com/attribute-ends-with-selector/" rel="nofollow">http://api.jquery.com/attribute-ends-with-selector/</a></p> <p><br> 3. <b>jQuery Attribute Contains Selector </b></p> <p>Lastly,"<b>Attribute Contains Selector</b>" Selects elements that have the specified attribute with a value containing the a given substring.</p> <pre><code> jQuery('[attribute*="value"]') </code></pre> <p>If you want to remove the divs which 'id' contains "ABC", your code goes something like this:</p> <pre><code> $('div[id*="ABC"]').remove(); </code></pre> <p>The document is here <a href="http://api.jquery.com/attribute-contains-selector/" rel="nofollow">http://api.jquery.com/attribute-contains-selector/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload