<?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 10:54:55 +0000</lastBuildDate>
    <item>
      <title>(jQuery) jQuery.getScript() does not cache â€“ Jamie Thompson - lamebollock</title>
      <link>https://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson</link>
      <description>&lt;p&gt;Cache control when pulling in scripts, redefined "getScript" function&lt;/p&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:18:57 UTC</pubDate>
      <guid>https://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson</guid>
    </item>
    <item>
      <title>(jQuery) Find closest previous sibling with class - lamebollock</title>
      <link>https://snipplr.com/view/47795/find-closest-previous-sibling-with-class</link>
      <description>&lt;p&gt;$('li.current_sub').prevAll("li.par_cat:first");&#13;
&#13;
Tested it with your markup:&#13;
&#13;
$('li.current_sub').prevAll("li.par_cat:first").text("woohoo");&#13;
&#13;
will fill up the closest previous li.par_cat with "woohoo".&lt;/p&gt;</description>
      <pubDate>Mon, 24 Jan 2011 22:04:58 UTC</pubDate>
      <guid>https://snipplr.com/view/47795/find-closest-previous-sibling-with-class</guid>
    </item>
    <item>
      <title>(jQuery) Prevent default event action - lamebollock</title>
      <link>https://snipplr.com/view/44161/prevent-default-event-action</link>
      <description>&lt;p&gt;Description: If this method is called, the default action of the event will not be triggered.&#13;
&#13;
For example, clicked anchors will not take the browser to a new URL. We can use event.isDefaultPrevented() to determine if this method has been called by an event handler that was triggered by this event.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Nov 2010 05:12:25 UTC</pubDate>
      <guid>https://snipplr.com/view/44161/prevent-default-event-action</guid>
    </item>
  </channel>
</rss>
