<?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 07:27:16 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) getElementBySimilarId - erintechspired</title>
      <link>https://snipplr.com/view/28252/getelementbysimilarid</link>
      <description>&lt;p&gt;A simple, non-recursive function that I use to return the first element with an ID that contains a certain ID string. &#13;
Sometimes, APS.NET appends the Naming Container ID to the IDs of controls, and in instances where the ClientID of a control you want is not available, you can use this script to find the element you want by similar id. &#13;
Dirty, but works most of the time for me.&lt;/p&gt;</description>
      <pubDate>Fri, 12 Feb 2010 13:37:25 UTC</pubDate>
      <guid>https://snipplr.com/view/28252/getelementbysimilarid</guid>
    </item>
  </channel>
</rss>
