<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Introducing DOMBuilder</title>
	<atom:link href="http://blog.ryanparman.com/2009/02/27/introducing-dombuilder/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ryanparman.com/2009/02/27/introducing-dombuilder/</link>
	<description>Too much straw, not enough camel</description>
	<lastBuildDate>Fri, 13 Jan 2012 04:33:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: glebm</title>
		<link>http://blog.ryanparman.com/2009/02/27/introducing-dombuilder/comment-page-1/#comment-1452</link>
		<dc:creator>glebm</dc:creator>
		<pubDate>Mon, 30 May 2011 13:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryanparman.com/?p=1677#comment-1452</guid>
		<description>Here is how you do it with DOMBrew:

document.body.appendChild(
    $b(&#039;div.location_select_control&#039; ).append(
        $b(&#039;a.location_select_label&#039; ).append( $b(&#039;label&#039;, &#039;This is my label&#039;) )
    ).dom());.

Check it out: https://github.com/glebm/DOMBrew</description>
		<content:encoded><![CDATA[<p>Here is how you do it with DOMBrew:</p>
<p>document.body.appendChild(<br />
    $b(&#8216;div.location_select_control&#8217; ).append(<br />
        $b(&#8216;a.location_select_label&#8217; ).append( $b(&#8216;label&#8217;, &#8216;This is my label&#8217;) )<br />
    ).dom());.</p>
<p>Check it out: <a href="https://github.com/glebm/DOMBrew" rel="nofollow">https://github.com/glebm/DOMBrew</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thor918</title>
		<link>http://blog.ryanparman.com/2009/02/27/introducing-dombuilder/comment-page-1/#comment-1402</link>
		<dc:creator>thor918</dc:creator>
		<pubDate>Sat, 26 Sep 2009 11:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryanparman.com/?p=1677#comment-1402</guid>
		<description>How about changing it a bit to handle internet explorer style attribute?
&lt;pre&gt;// Loop through the hash (i.e. associative array, key-value pairs)
for (var key in attr) {

    // Handle &#039;class&#039; differently for IE.
    if (key.toString() == &#039;class&#039;) {
        // Add it to the element
        this.element.className = attr[key];
    }
    else if ((key.toString() == &#039;style&#039;) &amp;&amp;
        (this.element.style.cssText != undefined)) {
        // Handle &#039;style&#039; differently for IE.
        this.element.style.cssText = attr[key];
    }
    else {
        // Add them to the element
        this.element.setAttribute(key, attr[key]);
    }
}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>How about changing it a bit to handle internet explorer style attribute?</p>
<pre>// Loop through the hash (i.e. associative array, key-value pairs)
for (var key in attr) {

    // Handle 'class' differently for IE.
    if (key.toString() == 'class') {
        // Add it to the element
        this.element.className = attr[key];
    }
    else if ((key.toString() == 'style') &#038;&#038;
        (this.element.style.cssText != undefined)) {
        // Handle 'style' differently for IE.
        this.element.style.cssText = attr[key];
    }
    else {
        // Add them to the element
        this.element.setAttribute(key, attr[key]);
    }
}</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: rpx9b914402504c6d83c9bfb2dcf8605fea</title>
		<link>http://blog.ryanparman.com/2009/02/27/introducing-dombuilder/comment-page-1/#comment-1401</link>
		<dc:creator>rpx9b914402504c6d83c9bfb2dcf8605fea</dc:creator>
		<pubDate>Sat, 19 Sep 2009 18:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryanparman.com/?p=1677#comment-1401</guid>
		<description>This is AWESOME, I haven&#039;t seen something like it in a long time. Thank you!</description>
		<content:encoded><![CDATA[<p>This is AWESOME, I haven&#8217;t seen something like it in a long time. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: non</title>
		<link>http://blog.ryanparman.com/2009/02/27/introducing-dombuilder/comment-page-1/#comment-1369</link>
		<dc:creator>non</dc:creator>
		<pubDate>Sat, 21 Mar 2009 22:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryanparman.com/?p=1677#comment-1369</guid>
		<description>Interesting!

Great work. Thanks.</description>
		<content:encoded><![CDATA[<p>Interesting!</p>
<p>Great work. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/7 queries in 0.328 seconds using disk: basic
Object Caching 289/290 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: blog.ryanparman.com.s3.amazonaws.com

Served from: blog.ryanparman.com @ 2012-02-07 17:57:02 -->
