<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 19:01:06 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Check if a element attribute has a certain value - betacar</title>
      <link>https://snipplr.com/view/58869/check-if-a-element-attribute-has-a-certain-value</link>
      <description>&lt;p&gt;Developing a form where I had several date and time fields, I came with a jQuery multiselector where I need to get, through the name attribute, if it was a date or time field. So far, jQuery does not have a boolean method to check if an attribute of an element has a certain value.&#13;
&#13;
This custom method does that. It simple retuns true if the attribute element has a certain value. False if it doesn't.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Sep 2011 04:03:37 UTC</pubDate>
      <guid>https://snipplr.com/view/58869/check-if-a-element-attribute-has-a-certain-value</guid>
    </item>
  </channel>
</rss>
