<?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 14:47:35 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) JS email validation - iroybot</title>
      <link>https://snipplr.com/view/49557/js-email-validation</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 24 Feb 2011 04:46:49 UTC</pubDate>
      <guid>https://snipplr.com/view/49557/js-email-validation</guid>
    </item>
    <item>
      <title>(JavaScript) getting an objects key values - iroybot</title>
      <link>https://snipplr.com/view/48653/getting-an-objects-key-values</link>
      <description>&lt;p&gt;I wanted to pass a form submission (array) as a JSON object to another function.&#13;
Some form field were created with JS, to identify them their names have been concatenated with unique IDs, etc.&#13;
In order to access values of that JSON obj I needed to find out the key names in order to get data out of it.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Feb 2011 10:29:19 UTC</pubDate>
      <guid>https://snipplr.com/view/48653/getting-an-objects-key-values</guid>
    </item>
    <item>
      <title>(JavaScript) getting an objects key values - iroybot</title>
      <link>https://snipplr.com/view/48652/getting-an-objects-key-values</link>
      <description>&lt;p&gt;I wanted to pass a form submission (array) as a JSON object to another function.&#13;
Some form field were created with JS, to identify them their names have been concatenated with unique IDs, etc.&#13;
In order to access values of that JSON obj I needed to find out the key names in order to get data out of it.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Feb 2011 10:28:28 UTC</pubDate>
      <guid>https://snipplr.com/view/48652/getting-an-objects-key-values</guid>
    </item>
    <item>
      <title>(JavaScript) getElementsByClass - iroybot</title>
      <link>https://snipplr.com/view/37097/getelementsbyclass</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 11 Jul 2010 03:53:04 UTC</pubDate>
      <guid>https://snipplr.com/view/37097/getelementsbyclass</guid>
    </item>
    <item>
      <title>(JavaScript) Conditional jQuery Implementation - iroybot</title>
      <link>https://snipplr.com/view/16397/conditional-jquery-implementation</link>
      <description>&lt;p&gt;1) if jQuery is already loaded into a browsers' cache -&gt; do nothing&#13;
2) if the object is undefined, write a script-element into the source which references google's minified jquery file.&#13;
3) if jQuery is still undefined (let's assume Google is down). write a script reference to our local copy into the source.&#13;
&#13;
You could also use the if statements to define different JS files for the frontend and the backend.&#13;
(as seen on www.ie6update.com)&lt;/p&gt;</description>
      <pubDate>Sat, 27 Jun 2009 16:15:57 UTC</pubDate>
      <guid>https://snipplr.com/view/16397/conditional-jquery-implementation</guid>
    </item>
    <item>
      <title>(JavaScript) Performance issues when modifying HTML with jQuery - iroybot</title>
      <link>https://snipplr.com/view/12456/performance-issues-when-modifying-html-with-jquery</link>
      <description>&lt;p&gt;I just found this interesting comment in the jQuery Syntax Hiliting Plugin "Chili".&#13;
It seems, one should preferrably use innerHTML instead the core jQuery method...&#13;
(Just to clarify: I didn't do any benchmarking myself)&lt;/p&gt;</description>
      <pubDate>Sun, 22 Feb 2009 09:04:24 UTC</pubDate>
      <guid>https://snipplr.com/view/12456/performance-issues-when-modifying-html-with-jquery</guid>
    </item>
  </channel>
</rss>
