<?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: jQuery: outerHTML</title>
	<atom:link href="http://www.yelotofu.com/2008/08/jquery-outerhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/</link>
	<description>&#34;In building standards compliant sites we are creating a better Web for the future.&#34;</description>
	<lastBuildDate>Thu, 02 Feb 2012 00:55:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Get selected element&#8217;s outer HTML - Programmers Goodies</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-18762</link>
		<dc:creator>Get selected element&#8217;s outer HTML - Programmers Goodies</dc:creator>
		<pubDate>Mon, 18 Jul 2011 17:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-18762</guid>
		<description>[...] This site seems to have a solution for you : outer html [...]</description>
		<content:encoded><![CDATA[<p>[...] This site seems to have a solution for you : outer html [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-17072</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Mon, 18 Apr 2011 20:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-17072</guid>
		<description>Maybe this wasn&#039;t possible when you originally wrote this, or maybe it&#039;s slower, but here&#039;s what I do: 
 
jQuery.fn.outerHTML = function(s) { 
 
     return (s) ? jq(this).replaceWith(s) : jq(this).clone().wrap(&#039;&#039;).parent().html(); 
 
} 
 
Seems much easier to read to me. Also, why do you use &lt; and &amp;lg;? Doesn&#039;t that cause problems? </description>
		<content:encoded><![CDATA[<p>Maybe this wasn&#039;t possible when you originally wrote this, or maybe it&#039;s slower, but here&#039;s what I do: </p>
<p>jQuery.fn.outerHTML = function(s) { </p>
<p>     return (s) ? jq(this).replaceWith(s) : jq(this).clone().wrap(&#039;&#039;).parent().html(); </p>
<p>} </p>
<p>Seems much easier to read to me. Also, why do you use &amp;lt; and &amp;lg;? Doesn&#039;t that cause problems?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sten Hougaard</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-16264</link>
		<dc:creator>Sten Hougaard</dc:creator>
		<pubDate>Wed, 09 Mar 2011 07:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-16264</guid>
		<description>Hi, 
Just want to give you credit for this simple but very handy piece of code :-) Thank you for sharing! I myself is working on something which will be a very nice feature for people in the jQuery world - watch my blog :-) 
 
/Sten </description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Just want to give you credit for this simple but very handy piece of code <img src='http://www.yelotofu.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Thank you for sharing! I myself is working on something which will be a very nice feature for people in the jQuery world &#8211; watch my blog <img src='http://www.yelotofu.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>/Sten</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dee</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-13746</link>
		<dc:creator>Dee</dc:creator>
		<pubDate>Wed, 17 Nov 2010 12:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-13746</guid>
		<description>Just to add to the list, another jQuery outerHTML method that allows you to get or replace the element inheriting the replacing content to the chaining. A good option to replaceWith() method as well. 
 
&lt;a href=&quot;http://darlesson.com/jquery/outerhtml/&quot; rel=&quot;nofollow&quot;&gt;http://darlesson.com/jquery/outerhtml/&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Just to add to the list, another jQuery outerHTML method that allows you to get or replace the element inheriting the replacing content to the chaining. A good option to replaceWith() method as well.</p>
<p><a href="http://darlesson.com/jquery/outerhtml/" rel="nofollow">http://darlesson.com/jquery/outerhtml/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lepe</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-9328</link>
		<dc:creator>Lepe</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-9328</guid>
		<description>I like your implementation. Nice Job. </description>
		<content:encoded><![CDATA[<p>I like your implementation. Nice Job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caphun</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-8925</link>
		<dc:creator>caphun</dc:creator>
		<pubDate>Wed, 21 Oct 2009 23:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-8925</guid>
		<description>@drew: I think the replaceWith is a closer alternative: 
  &lt;a href=&quot;http://docs.jquery.com/Manipulation/replaceWith&quot; rel=&quot;nofollow&quot;&gt;http://docs.jquery.com/Manipulation/replaceWith&lt;/a&gt;  
 
As I remember that wasn&#039;t around when I made this post. </description>
		<content:encoded><![CDATA[<p>@drew: I think the replaceWith is a closer alternative:</p>
<p>  <a href="http://docs.jquery.com/Manipulation/replaceWith" rel="nofollow">http://docs.jquery.com/Manipulation/replaceWith</a>  </p>
<p>As I remember that wasn&#039;t around when I made this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-8880</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Tue, 20 Oct 2009 04:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-8880</guid>
		<description>The clone function might come in handy as an alternative  
  &lt;a href=&quot;http://docs.jquery.com/Manipulation/clone&quot; rel=&quot;nofollow&quot;&gt;http://docs.jquery.com/Manipulation/clone&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>The clone function might come in handy as an alternative </p>
<p>  <a href="http://docs.jquery.com/Manipulation/clone" rel="nofollow">http://docs.jquery.com/Manipulation/clone</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parag Lohiya</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-8745</link>
		<dc:creator>Parag Lohiya</dc:creator>
		<pubDate>Wed, 14 Oct 2009 02:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-8745</guid>
		<description>Thanks for the help this is very useful. </description>
		<content:encoded><![CDATA[<p>Thanks for the help this is very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Pirkl</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-3605</link>
		<dc:creator>Kevin Pirkl</dc:creator>
		<pubDate>Tue, 24 Feb 2009 03:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-3605</guid>
		<description>Thanks for this great code... </description>
		<content:encoded><![CDATA[<p>Thanks for this great code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caphun</title>
		<link>http://www.yelotofu.com/2008/08/jquery-outerhtml/comment-page-1/#comment-2681</link>
		<dc:creator>caphun</dc:creator>
		<pubDate>Wed, 24 Sep 2008 23:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://yelotofu.com/?p=94#comment-2681</guid>
		<description>Answer: incompatible across browsers. </description>
		<content:encoded><![CDATA[<p>Answer: incompatible across browsers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
