<?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 22:01:04 +0000</lastBuildDate>
    <item>
      <title>(jQuery) Show/hide content with matching checkboxes - gellpak</title>
      <link>https://snipplr.com/view/54393/showhide-content-with-matching-checkboxes</link>
      <description>&lt;p&gt;This function follows the following naming conventions: Give your checkboxes ID tags of "[contenttitle]trigger", where [contenttitle] is whatever you like. Then, give your hide-able content classes that match, without the "trigger". This function will look at the checkbox ID and checked state, and then show/hide the content with those classes accordingly.&#13;
&#13;
So for example, you have a checkbox with the ID "content4trigger", and two divs with the class "content4". This will show and hide the divs based on the id of the checkbox.&lt;/p&gt;</description>
      <pubDate>Thu, 26 May 2011 04:39:11 UTC</pubDate>
      <guid>https://snipplr.com/view/54393/showhide-content-with-matching-checkboxes</guid>
    </item>
  </channel>
</rss>
