<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/oo</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 29 Aug 2008 18:29:20 GMT</pubDate>
<item>
<title>(JavaScript) set a nested DOM property with square bracket notation - noah</title>
<link>http://snipplr.com/view/3263/set-a-nested-dom-property-with-square-bracket-notation/</link>
<description><![CDATA[ <p>This was fun to write.  I wonder if nested DOM properties can be set with any of JavaScript's built-in methods?</p> ]]></description>
<pubDate>Tue, 10 Jul 2007 10:05:48 GMT</pubDate>
<guid>http://snipplr.com/view/3263/set-a-nested-dom-property-with-square-bracket-notation/</guid>
</item>
<item>
<title>(JavaScript) Toggle value of nested property - noah</title>
<link>http://snipplr.com/view/3251/toggle-value-of-nested-property/</link>
<description><![CDATA[ <p>I feel like I once found an elegant way of setting nested properties without using eval().  However i can't find that code, and atm this is the best I can do.</p> ]]></description>
<pubDate>Sun, 08 Jul 2007 10:58:49 GMT</pubDate>
<guid>http://snipplr.com/view/3251/toggle-value-of-nested-property/</guid>
</item>
<item>
<title>(JavaScript) Crockford's object producer - noah</title>
<link>http://snipplr.com/view/3154/crockfords-object-producer/</link>
<description><![CDATA[ <p>Note that this will /not/ work:
var a = {a:1, b:2}
var b = {prototype: a}</p> ]]></description>
<pubDate>Fri, 06 Jul 2007 21:06:54 GMT</pubDate>
<guid>http://snipplr.com/view/3154/crockfords-object-producer/</guid>
</item>
<item>
<title>(JavaScript) Get Mouse Position (from Quirksmode.org) - noah</title>
<link>http://snipplr.com/view/3032/get-mouse-position-from-quirksmodeorg/</link>
<description><![CDATA[ <p>This is PPK's solution for finding mouse position across platforms.</p> ]]></description>
<pubDate>Mon, 25 Jun 2007 08:36:02 GMT</pubDate>
<guid>http://snipplr.com/view/3032/get-mouse-position-from-quirksmodeorg/</guid>
</item>
<item>
<title>(JavaScript) Does an object have a specific property? - noah</title>
<link>http://snipplr.com/view/2708/does-an-object-have-a-specific-property/</link>
<description><![CDATA[ <p>This is a very easy way to check if an object has a given property.  Easier than checking if (obj.foo != null) or some such, which is what I've been doing :(  From Flanagan, 5th ed, p. 108.; but I actually ran across it in the source of this page: http://www.gtalbot.org/DHTMLSection/DynamicOpacity.html, thanks to Gerard Talbot on clj.</p> ]]></description>
<pubDate>Thu, 24 May 2007 09:24:08 GMT</pubDate>
<guid>http://snipplr.com/view/2708/does-an-object-have-a-specific-property/</guid>
</item>
<item>
<title>(JavaScript) clear form field on first focus (inline version) - noah</title>
<link>http://snipplr.com/view/2549/clear-form-field-on-first-focus-inline-version/</link>
<description><![CDATA[ <p>The unobtrusive version requires an onload statement.  Doing that in a backward-compatible fashion can be a pain in the ass.  So here is an inline version for use with older code.  This should work "out of the box" with any browser that has javascript.</p> ]]></description>
<pubDate>Fri, 27 Apr 2007 15:53:16 GMT</pubDate>
<guid>http://snipplr.com/view/2549/clear-form-field-on-first-focus-inline-version/</guid>
</item>
</channel>
</rss>