<?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>Wed, 10 Jun 2026 12:07:55 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Get DOM element via class and id selector, using Google Closure - cjcenizal</title>
      <link>https://snipplr.com/view/62931/get-dom-element-via-class-and-id-selector-using-google-closure</link>
      <description>&lt;p&gt;The Google Closure lets you get DOM elements with getElement( id ) and getElementByClass( class ).  This function combines the two to let you get elements similarly to the way jQuery does.  E.g. getElement( '#home .sidebar #links') returns the element with an id of 'links', within the element of class 'sidebar', within the element of id 'home'.&lt;/p&gt;</description>
      <pubDate>Tue, 31 Jan 2012 15:00:26 UTC</pubDate>
      <guid>https://snipplr.com/view/62931/get-dom-element-via-class-and-id-selector-using-google-closure</guid>
    </item>
  </channel>
</rss>
