<?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: Wrap It Up &#8211; Lazy Man&#8217;s HTML Generation With jQuery</title>
	<atom:link href="http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/feed/" rel="self" type="application/rss+xml" />
	<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/</link>
	<description>Examples and tutorials to help you learn JQuery</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:09:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: prefabrik ev</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-299969</link>
		<dc:creator>prefabrik ev</dc:creator>
		<pubDate>Sun, 04 Dec 2011 23:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-299969</guid>
		<description>Just to be clear: I agree with your point but disagree on the importance.</description>
		<content:encoded><![CDATA[<p>Just to be clear: I agree with your point but disagree on the importance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JOCURI SLOT</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-285433</link>
		<dc:creator>JOCURI SLOT</dc:creator>
		<pubDate>Sun, 13 Nov 2011 12:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-285433</guid>
		<description>its firs date to this blog, its nice ! keep work.....</description>
		<content:encoded><![CDATA[<p>its firs date to this blog, its nice ! keep work&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: android app</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-276332</link>
		<dc:creator>android app</dc:creator>
		<pubDate>Sat, 29 Oct 2011 00:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-276332</guid>
		<description>Hi there! Do you use Twitter? I&#039;d like to follow you if that would be ok. I&#039;m undoubtedly enjoying your blog and appear forward to new posts.</description>
		<content:encoded><![CDATA[<p>Hi there! Do you use Twitter? I&#8217;d like to follow you if that would be ok. I&#8217;m undoubtedly enjoying your blog and appear forward to new posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tristan Gierhart</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-250874</link>
		<dc:creator>Tristan Gierhart</dc:creator>
		<pubDate>Wed, 21 Sep 2011 13:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-250874</guid>
		<description>One other issue is that if you are in a problem where you don&#039;t have a cosigner then you may want to try to make use of all of your money for college options. You can get many funds and other scholarships or grants that will present you with funding to assist with institution expenses. Thanks for the post.</description>
		<content:encoded><![CDATA[<p>One other issue is that if you are in a problem where you don&#8217;t have a cosigner then you may want to try to make use of all of your money for college options. You can get many funds and other scholarships or grants that will present you with funding to assist with institution expenses. Thanks for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samsungreality VS</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-246508</link>
		<dc:creator>Samsungreality VS</dc:creator>
		<pubDate>Mon, 12 Sep 2011 10:38:55 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-246508</guid>
		<description>Woah! I&#039;m really loving the template/theme of this site. It&#039;s simple, yet effective. A lot of times it&#039;s challenging to get that &quot;perfect balance&quot; between user friendliness and visual appeal. I must say you&#039;ve done a awesome job with this. Additionally, the blog loads extremely fast for me on Internet explorer. Exceptional Blog!</description>
		<content:encoded><![CDATA[<p>Woah! I&#8217;m really loving the template/theme of this site. It&#8217;s simple, yet effective. A lot of times it&#8217;s challenging to get that &#8220;perfect balance&#8221; between user friendliness and visual appeal. I must say you&#8217;ve done a awesome job with this. Additionally, the blog loads extremely fast for me on Internet explorer. Exceptional Blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Papel de Parede</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-245817</link>
		<dc:creator>Papel de Parede</dc:creator>
		<pubDate>Sat, 10 Sep 2011 16:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-245817</guid>
		<description>We would also like to express that most individuals who find themselves with out health insurance can be students, self-employed and people who are without a job. More than half with the uninsured are really under the age of Thirty-five. They do not come to feel they are in need of health insurance since they are young plus healthy. Their income is generally spent on housing, food, as well as entertainment. Some people that do represent the working class either full or in their free time are not provided insurance through their work so they get along without as a result of rising cost of health insurance in the us. Thanks for the concepts you write about through this web site.</description>
		<content:encoded><![CDATA[<p>We would also like to express that most individuals who find themselves with out health insurance can be students, self-employed and people who are without a job. More than half with the uninsured are really under the age of Thirty-five. They do not come to feel they are in need of health insurance since they are young plus healthy. Their income is generally spent on housing, food, as well as entertainment. Some people that do represent the working class either full or in their free time are not provided insurance through their work so they get along without as a result of rising cost of health insurance in the us. Thanks for the concepts you write about through this web site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teodoro Mease</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-242662</link>
		<dc:creator>Teodoro Mease</dc:creator>
		<pubDate>Sat, 03 Sep 2011 17:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-242662</guid>
		<description>Thank you once more for a lot of things.</description>
		<content:encoded><![CDATA[<p>Thank you once more for a lot of things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gold coast</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-240979</link>
		<dc:creator>gold coast</dc:creator>
		<pubDate>Tue, 30 Aug 2011 01:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-240979</guid>
		<description>I was pleased to discover it web-site.Need be towards interesting effort because of this terrific read through!! I actually undeniably enjoying just about every small amount of the software we maybe you have bookmarked as their favorite to look into different things writing.</description>
		<content:encoded><![CDATA[<p>I was pleased to discover it web-site.Need be towards interesting effort because of this terrific read through!! I actually undeniably enjoying just about every small amount of the software we maybe you have bookmarked as their favorite to look into different things writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: motorcycle boots</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-240024</link>
		<dc:creator>motorcycle boots</dc:creator>
		<pubDate>Sat, 27 Aug 2011 04:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-240024</guid>
		<description>Hi there! I just wish to give a huge thumbs up for the good info you&#039;ve gotten right here on this post. I might be coming back to your weblog for extra soon.</description>
		<content:encoded><![CDATA[<p>Hi there! I just wish to give a huge thumbs up for the good info you&#8217;ve gotten right here on this post. I might be coming back to your weblog for extra soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: konut projeleri</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-231684</link>
		<dc:creator>konut projeleri</dc:creator>
		<pubDate>Mon, 01 Aug 2011 11:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-231684</guid>
		<description>I agree with your point but disagree on the importance.(</description>
		<content:encoded><![CDATA[<p>I agree with your point but disagree on the importance.(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prefabrik evler</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-223853</link>
		<dc:creator>prefabrik evler</dc:creator>
		<pubDate>Wed, 06 Jul 2011 12:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-223853</guid>
		<description>Just to be clear: I agree with your point but disagree on the importance.</description>
		<content:encoded><![CDATA[<p>Just to be clear: I agree with your point but disagree on the importance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wonderlic questions</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-222723</link>
		<dc:creator>wonderlic questions</dc:creator>
		<pubDate>Fri, 01 Jul 2011 22:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-222723</guid>
		<description>Good stuff on here, is there a feed?</description>
		<content:encoded><![CDATA[<p>Good stuff on here, is there a feed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fun</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-218010</link>
		<dc:creator>fun</dc:creator>
		<pubDate>Sun, 12 Jun 2011 09:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-218010</guid>
		<description>woah i like yur site. It really helped me with the info i was searching for. Appcriciate it, will save.</description>
		<content:encoded><![CDATA[<p>woah i like yur site. It really helped me with the info i was searching for. Appcriciate it, will save.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: walgreens coupon code</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-214552</link>
		<dc:creator>walgreens coupon code</dc:creator>
		<pubDate>Fri, 27 May 2011 19:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-214552</guid>
		<description>Great write-up, I am regular visitor of one’s web site, maintain up the nice operate, and It&#039;s going to be a regular visitor for a lengthy time.</description>
		<content:encoded><![CDATA[<p>Great write-up, I am regular visitor of one’s web site, maintain up the nice operate, and It&#8217;s going to be a regular visitor for a lengthy time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mancation Man</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-208803</link>
		<dc:creator>Mancation Man</dc:creator>
		<pubDate>Wed, 27 Apr 2011 20:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-208803</guid>
		<description>awesome post! thanks</description>
		<content:encoded><![CDATA[<p>awesome post! thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Halla Cooke</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-200770</link>
		<dc:creator>Halla Cooke</dc:creator>
		<pubDate>Fri, 25 Feb 2011 15:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-200770</guid>
		<description>I am working on making a blog like %BLOGTITLE%. I still have a way to go, and certainly don&#039;t yet get the traffic you seem to get. if you can, please give me some feedback on &lt;a href=&quot;http://troutcatch.com&quot; rel=&quot;nofollow&quot;&gt;http://troutcatch.com&lt;/a&gt; as I know it needs a tune up. Nice site, sincerely, Halla Cooke</description>
		<content:encoded><![CDATA[<p>I am working on making a blog like %BLOGTITLE%. I still have a way to go, and certainly don&#8217;t yet get the traffic you seem to get. if you can, please give me some feedback on <a href="http://troutcatch.com" rel="nofollow">http://troutcatch.com</a> as I know it needs a tune up. Nice site, sincerely, Halla Cooke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Proposed Workshop schedule &#8211; jQuery &#171; Carlos Guarany &#8211; from Toronto</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-179380</link>
		<dc:creator>Proposed Workshop schedule &#8211; jQuery &#171; Carlos Guarany &#8211; from Toronto</dc:creator>
		<pubDate>Sat, 20 Mar 2010 18:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-179380</guid>
		<description>[...] Wrap It Up &#8211; Lazy Man’s HTML Generation With jQuery Style Sheet Switcheroo [...]</description>
		<content:encoded><![CDATA[<p>[...] Wrap It Up &#8211; Lazy Man’s HTML Generation With jQuery Style Sheet Switcheroo [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ???? ?????</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-174708</link>
		<dc:creator>???? ?????</dc:creator>
		<pubDate>Mon, 19 Oct 2009 13:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-174708</guid>
		<description>???????? ?????????. ????????? ??????? ?? ????.</description>
		<content:encoded><![CDATA[<p>???????? ?????????. ????????? ??????? ?? ????.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pligg.com</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-169945</link>
		<dc:creator>pligg.com</dc:creator>
		<pubDate>Sat, 18 Jul 2009 06:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-169945</guid>
		<description>&lt;strong&gt;  Wrap It Up - Lazy Man’s HTML Generation With jQuery...&lt;/strong&gt;

I’m going to show you how easy it is to remove extraneous markup from your html source code using jQuery. Using this method will keep your code cleaner and (more importantly) will make it future layout changes much easier....</description>
		<content:encoded><![CDATA[<p><strong>  Wrap It Up &#8211; Lazy Man’s HTML Generation With jQuery&#8230;</strong></p>
<p>I’m going to show you how easy it is to remove extraneous markup from your html source code using jQuery. Using this method will keep your code cleaner and (more importantly) will make it future layout changes much easier&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-99400</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Tue, 04 Nov 2008 15:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-99400</guid>
		<description>Thank you for the very useful explanation, code example and graphics.</description>
		<content:encoded><![CDATA[<p>Thank you for the very useful explanation, code example and graphics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quin</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-90397</link>
		<dc:creator>Quin</dc:creator>
		<pubDate>Fri, 26 Sep 2008 12:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-90397</guid>
		<description>Sorry, this blog does not seem to render code. Will look elsewhere for a answer.</description>
		<content:encoded><![CDATA[<p>Sorry, this blog does not seem to render code. Will look elsewhere for a answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quin</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-90389</link>
		<dc:creator>Quin</dc:creator>
		<pubDate>Fri, 26 Sep 2008 12:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-90389</guid>
		<description>How does one get jQuery to wrap a single div around all the child elements of a div?

Example:

  
    header
    
    Lorem ipsum
  

Lets say I want a single div around the ,  and the , how does one do it?

I tried this:

$(&quot;div.box&gt; *&quot;).wrap(&#039;&#039;);

The problem is it wraps a div around each child element. Not what I want.

Any suggestions?</description>
		<content:encoded><![CDATA[<p>How does one get jQuery to wrap a single div around all the child elements of a div?</p>
<p>Example:</p>
<p>    header</p>
<p>    Lorem ipsum</p>
<p>Lets say I want a single div around the ,  and the , how does one do it?</p>
<p>I tried this:</p>
<p>$(&#8220;div.box&gt; *&#8221;).wrap(&#8221;);</p>
<p>The problem is it wraps a div around each child element. Not what I want.</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-29013</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 18 Mar 2008 02:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-29013</guid>
		<description>I am sorry but I keep getting this error: $(&quot;img.dropshadow&quot;) has no properties. Please help, I thought this might be occurring because the element hasn&#039;t been created yet. Is that a correct assessment. The code is included in the head of the page and is a callback of the ready method just as you instructed. this is what I have in the head of the code: $(document).ready(function(){

$(&quot;img.dropshadow&quot;).wrap(&quot;&quot; + &quot;&quot;);

}); any pointers please?</description>
		<content:encoded><![CDATA[<p>I am sorry but I keep getting this error: $(&#8220;img.dropshadow&#8221;) has no properties. Please help, I thought this might be occurring because the element hasn&#8217;t been created yet. Is that a correct assessment. The code is included in the head of the page and is a callback of the ready method just as you instructed. this is what I have in the head of the code: $(document).ready(function(){</p>
<p>$(&#8220;img.dropshadow&#8221;).wrap(&#8220;&#8221; + &#8220;&#8221;);</p>
<p>}); any pointers please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#160; CSS &#38; Javascript Image Drop Shadows&#160;by&#160;The Big Article</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-9044</link>
		<dc:creator>&#160; CSS &#38; Javascript Image Drop Shadows&#160;by&#160;The Big Article</dc:creator>
		<pubDate>Fri, 29 Jun 2007 10:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-9044</guid>
		<description>[...] config and maintenance and I decided to combine Segio&#8217;s CSS only solution with a slighly more complex Javascript solution that would in the end be a bit simpler to implement and [...]</description>
		<content:encoded><![CDATA[<p>[...] config and maintenance and I decided to combine Segio&#8217;s CSS only solution with a slighly more complex Javascript solution that would in the end be a bit simpler to implement and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#160; CSS &#38; Javascript Image Drop Shadows &#160;by&#160;The Big Article</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-9039</link>
		<dc:creator>&#160; CSS &#38; Javascript Image Drop Shadows &#160;by&#160;The Big Article</dc:creator>
		<pubDate>Fri, 29 Jun 2007 08:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-9039</guid>
		<description>[...] http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/ 1. Insert this code between the  html tags in your header or template (header.php in Wordpress).Â  Note: You may already have jquery installed as part of your template or plugin.Â  Try looking in /wp-includes/js/jquery/    $(document).ready(function(){ $(&quot;img.dropshadow-right&quot;) .wrap(&quot; &#8221; + &#8220; [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/" rel="nofollow">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/</a> 1. Insert this code between the  html tags in your header or template (header.php in WordPress).Â  Note: You may already have jquery installed as part of your template or plugin.Â  Try looking in /wp-includes/js/jquery/    $(document).ready(function(){ $(&#8220;img.dropshadow-right&#8221;) .wrap(&#8221; &#8221; + &#8220; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-4504</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Tue, 10 Apr 2007 16:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-4504</guid>
		<description>Scott,
Getting the width of an image server side with PHP or similar is easy. You can easily pass that info into your html/js.

As for the width of the div, you should at least test setting the width of the div to be less than your images, and the div should expand to contain the image, regardless of the width. A bit of a hack, but might work for you.

As for images without a class, since you&#039;re receiving uploads, you have to be using a server side language to save and process. You could easily add a class using the same server side code. Or, if you knew the parent of the image, or it&#039;s order in the document you could use jQuery to target the nth image.

Finding all images in a particular div is easy:

$(&#039;div#foo img&#039;).each(function(){ alert(&#039;function goes here&#039;); });</description>
		<content:encoded><![CDATA[<p>Scott,<br />
Getting the width of an image server side with PHP or similar is easy. You can easily pass that info into your html/js.</p>
<p>As for the width of the div, you should at least test setting the width of the div to be less than your images, and the div should expand to contain the image, regardless of the width. A bit of a hack, but might work for you.</p>
<p>As for images without a class, since you&#8217;re receiving uploads, you have to be using a server side language to save and process. You could easily add a class using the same server side code. Or, if you knew the parent of the image, or it&#8217;s order in the document you could use jQuery to target the nth image.</p>
<p>Finding all images in a particular div is easy:</p>
<p>$(&#8216;div#foo img&#8217;).each(function(){ alert(&#8216;function goes here&#8217;); });</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Chesnut</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-4500</link>
		<dc:creator>Scott Chesnut</dc:creator>
		<pubDate>Tue, 10 Apr 2007 16:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-4500</guid>
		<description>Hi,

What if I wanted to get the width of the image (and the width attribute is not set in the html) and then set the width of my wrapper div accordingly? I&#039;m thinking of a caption type situation. Also, what if my images did not have a class (i&#039;m allowing users to upload images), but I wanted to find all images in a particular div, say a content area which does have an id or class?

Thanks,
Scott</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>What if I wanted to get the width of the image (and the width attribute is not set in the html) and then set the width of my wrapper div accordingly? I&#8217;m thinking of a caption type situation. Also, what if my images did not have a class (i&#8217;m allowing users to upload images), but I wanted to find all images in a particular div, say a content area which does have an id or class?</p>
<p>Thanks,<br />
Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-2470</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Thu, 01 Feb 2007 19:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-2470</guid>
		<description>@Alexis,
Oof... you&#039;re right!  I&#039;ll correct that silly mistake now.</description>
		<content:encoded><![CDATA[<p>@Alexis,<br />
Oof&#8230; you&#8217;re right!  I&#8217;ll correct that silly mistake now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis Bellido</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-2469</link>
		<dc:creator>Alexis Bellido</dc:creator>
		<pubDate>Thu, 01 Feb 2007 18:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-2469</guid>
		<description>A small detail but important to notice: DOM = Document Object Model, not Method :)</description>
		<content:encoded><![CDATA[<p>A small detail but important to notice: DOM = Document Object Model, not Method <img src='http://15daysofjquery.com/wpblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthijs</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-672</link>
		<dc:creator>Matthijs</dc:creator>
		<pubDate>Wed, 29 Nov 2006 17:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-672</guid>
		<description>Cool solution. No technique in itself is perfect but I think that if you already use jquery for something else on the same site, it&#039;s very easy to use it for fancy dropshadows as well using your technique. 

Great tutorials, thanks.</description>
		<content:encoded><![CDATA[<p>Cool solution. No technique in itself is perfect but I think that if you already use jquery for something else on the same site, it&#8217;s very easy to use it for fancy dropshadows as well using your technique. </p>
<p>Great tutorials, thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

