<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Wrap It Up - Lazy Man&#8217;s HTML Generation With jQuery</title>
	<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>
	<pubDate>Thu, 22 May 2008 19:52:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<item>
		<title>By: IkoTikashi</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-32</link>
		<author>IkoTikashi</author>
		<pubDate>Fri, 02 Jun 2006 13:48:32 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-32</guid>
					<description>In the paragraph "The Solution" you write:

"And then the images would be styled like so:
"

Shouldn't you add a 'class="dropshadow"' in the img-tag?!</description>
		<content:encoded><![CDATA[<p>In the paragraph &#8220;The Solution&#8221; you write:</p>
<p>&#8220;And then the images would be styled like so:<br />
&#8221;</p>
<p>Shouldn&#8217;t you add a &#8216;class=&#8221;dropshadow&#8221;&#8216; in the img-tag?!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: IkoTikashi</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-33</link>
		<author>IkoTikashi</author>
		<pubDate>Fri, 02 Jun 2006 13:50:01 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-33</guid>
					<description>Aye, no way to edit comments ... I think you're missing the 'class="dropshadow"' in the img-tag one paragraph above too. Thx ;)</description>
		<content:encoded><![CDATA[<p>Aye, no way to edit comments &#8230; I think you&#8217;re missing the &#8216;class=&#8221;dropshadow&#8221;&#8216; in the img-tag one paragraph above too. Thx <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-34</link>
		<author>Jack</author>
		<pubDate>Fri, 02 Jun 2006 14:33:53 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-34</guid>
					<description>Iko,
Good catch on your part... stupid oversight on mine.

Both fixed. Thanks.</description>
		<content:encoded><![CDATA[<p>Iko,<br />
Good catch on your part&#8230; stupid oversight on mine.</p>
<p>Both fixed. Thanks.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jörn</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-40</link>
		<author>Jörn</author>
		<pubDate>Tue, 06 Jun 2006 10:35:18 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-40</guid>
					<description>Hi Jack,

in the "A Closer Look" paragraph you wrote:

&#62; you could do something like $(”img#dropshadow”)

This is something I see too often. When referencing an ID ("#xyz") with CSS syntax, its always redundant to put selectors in front of the ID. An ID must be unique, so it can not be specified any uniquer.

I like your tutorials (as I like JQuery), so please keep them clean ;)</description>
		<content:encoded><![CDATA[<p>Hi Jack,</p>
<p>in the &#8220;A Closer Look&#8221; paragraph you wrote:</p>
<p>&gt; you could do something like $(”img#dropshadow”)</p>
<p>This is something I see too often. When referencing an ID (&#8221;#xyz&#8221;) with CSS syntax, its always redundant to put selectors in front of the ID. An ID must be unique, so it can not be specified any uniquer.</p>
<p>I like your tutorials (as I like JQuery), so please keep them clean <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-41</link>
		<author>Jack</author>
		<pubDate>Tue, 06 Jun 2006 12:45:12 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-41</guid>
					<description>@Jorn,
I'm glad you pointed this out. However, I'm going to leave it as is in the tutorial for two reasons:
1- So others can see what to what you are refering
2- Even though your suggestion makes the code more concise, my syntax is not incorrect.

As an analogy... I've shown readers how jQuery lets you "chain" methods together and make the javascript very small, clean, and concise.  But if you choose not to chain them, and write out each instruction long hand, you don't get negative points... it still works.

Just to be clear: I agree with your point but disagree on the importance.</description>
		<content:encoded><![CDATA[<p>@Jorn,<br />
I&#8217;m glad you pointed this out. However, I&#8217;m going to leave it as is in the tutorial for two reasons:<br />
1- So others can see what to what you are refering<br />
2- Even though your suggestion makes the code more concise, my syntax is not incorrect.</p>
<p>As an analogy&#8230; I&#8217;ve shown readers how jQuery lets you &#8220;chain&#8221; methods together and make the javascript very small, clean, and concise.  But if you choose not to chain them, and write out each instruction long hand, you don&#8217;t get negative points&#8230; it still works.</p>
<p>Just to be clear: I agree with your point but disagree on the importance.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Mary</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-197</link>
		<author>Mary</author>
		<pubDate>Thu, 13 Jul 2006 06:55:30 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-197</guid>
					<description>In the demo, the image doesn't show up.</description>
		<content:encoded><![CDATA[<p>In the demo, the image doesn&#8217;t show up.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-198</link>
		<author>Jack</author>
		<pubDate>Thu, 13 Jul 2006 13:25:05 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-198</guid>
					<description>Mary,
Apparently the third party site took the demo down.  I'll try to get a new one back up for you.</description>
		<content:encoded><![CDATA[<p>Mary,<br />
Apparently the third party site took the demo down.  I&#8217;ll try to get a new one back up for you.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Thom Parkin</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-284</link>
		<author>Thom Parkin</author>
		<pubDate>Fri, 28 Jul 2006 19:06:21 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-284</guid>
					<description>Great series. Thanks.
Is there any significance to the way you concatenated the strings in 
.wrap(""  etc.?
It seems more logical to break them where you separate the opening tag from the closing tag.</description>
		<content:encoded><![CDATA[<p>Great series. Thanks.<br />
Is there any significance to the way you concatenated the strings in<br />
.wrap(&#8221;"  etc.?<br />
It seems more logical to break them where you separate the opening tag from the closing tag.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-285</link>
		<author>Jack</author>
		<pubDate>Fri, 28 Jul 2006 19:15:19 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-285</guid>
					<description>Thom... no significance.</description>
		<content:encoded><![CDATA[<p>Thom&#8230; no significance.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Chris</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-378</link>
		<author>Chris</author>
		<pubDate>Fri, 25 Aug 2006 17:34:21 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-378</guid>
					<description>Hi Jack,
I know this is probably a silly question, but do you see any reason why this wouldnt work if the image was nested in a link? I've tried implementing this on a gallery i am working on and though its painfully simple it just doesnt seem to want to work. I have assigned a class of dropshadow to all the images, inserted the js as like the examle, checked that the jquery src link is above the js call and still nada. 
Any ideas would be greatly appreciated!
Thanks,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Jack,<br />
I know this is probably a silly question, but do you see any reason why this wouldnt work if the image was nested in a link? I&#8217;ve tried implementing this on a gallery i am working on and though its painfully simple it just doesnt seem to want to work. I have assigned a class of dropshadow to all the images, inserted the js as like the examle, checked that the jquery src link is above the js call and still nada.<br />
Any ideas would be greatly appreciated!<br />
Thanks,<br />
Chris</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-379</link>
		<author>Jack</author>
		<pubDate>Fri, 25 Aug 2006 17:55:47 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-379</guid>
					<description>I use Firebug and Web Developer extensions for Firefox to troubleshoot. The first can give me a quick alert to goofs in my code, the second lets me view generated source, not just actual xhtml. In other words, it should show you some of the jQuery generated html.

If you're nesting the image inside a link, I would think you'd want to target the link (instead of the image) for wrapping with the divs.  

Let me know what you find.</description>
		<content:encoded><![CDATA[<p>I use Firebug and Web Developer extensions for Firefox to troubleshoot. The first can give me a quick alert to goofs in my code, the second lets me view generated source, not just actual xhtml. In other words, it should show you some of the jQuery generated html.</p>
<p>If you&#8217;re nesting the image inside a link, I would think you&#8217;d want to target the link (instead of the image) for wrapping with the divs.  </p>
<p>Let me know what you find.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: toolman</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-412</link>
		<author>toolman</author>
		<pubDate>Tue, 19 Sep 2006 08:39:03 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-412</guid>
					<description>Just a note re the uniqueness of css hash notation for IDs.  If a CSS script is used on multiple pages or a dynamic system, it is possible that an image could share an ID with , for example, a form input ID on a different page.  

ie input#unique and img#unique

Therefore, it is not always redundand if you use CSS on more then one DOM - and you should ;)

It is unlikely, but definitely possible for IDs to match across multiple pages, especially if you have dynamic content.</description>
		<content:encoded><![CDATA[<p>Just a note re the uniqueness of css hash notation for IDs.  If a CSS script is used on multiple pages or a dynamic system, it is possible that an image could share an ID with , for example, a form input ID on a different page.  </p>
<p>ie input#unique and img#unique</p>
<p>Therefore, it is not always redundand if you use CSS on more then one DOM - and you should <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>It is unlikely, but definitely possible for IDs to match across multiple pages, especially if you have dynamic content.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: jazzle</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-446</link>
		<author>jazzle</author>
		<pubDate>Sat, 21 Oct 2006 11:37:38 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-446</guid>
					<description>The demo is 404 :(</description>
		<content:encoded><![CDATA[<p>The demo is 404 <img src='http://15daysofjquery.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-453</link>
		<author>Jack</author>
		<pubDate>Sun, 22 Oct 2006 15:00:06 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-453</guid>
					<description>A downside of linking out to other sites for a demo.  I'll put one up on this site.</description>
		<content:encoded><![CDATA[<p>A downside of linking out to other sites for a demo.  I&#8217;ll put one up on this site.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: ilovejquery</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-668</link>
		<author>ilovejquery</author>
		<pubDate>Wed, 29 Nov 2006 09:29:17 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-668</guid>
					<description>where is the demo!!!!!</description>
		<content:encoded><![CDATA[<p>where is the demo!!!!!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jack</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-670</link>
		<author>Jack</author>
		<pubDate>Wed, 29 Nov 2006 15:00:24 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-670</guid>
					<description>Right here:
http://15daysofjquery.com/examples/osds/</description>
		<content:encoded><![CDATA[<p>Right here:<br />
<a href="http://15daysofjquery.com/examples/osds/" rel="nofollow">http://15daysofjquery.com/examples/osds/</a></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>
		<author>Matthijs</author>
		<pubDate>Wed, 29 Nov 2006 17:39:01 +0000</pubDate>
		<guid>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'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>
	<item>
		<title>By: Alexis Bellido</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-2469</link>
		<author>Alexis Bellido</author>
		<pubDate>Thu, 01 Feb 2007 18:40:27 +0000</pubDate>
		<guid>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/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></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>
		<author>Jack</author>
		<pubDate>Thu, 01 Feb 2007 19:01:57 +0000</pubDate>
		<guid>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-2470</guid>
					<description>@Alexis,
Oof... you're right!  I'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: Scott Chesnut</title>
		<link>http://15daysofjquery.com/wrap-it-up-lazy-mans-html-generation-with-jquery/10/#comment-4500</link>
		<author>Scott Chesnut</author>
		<pubDate>Tue, 10 Apr 2007 16:23:55 +0000</pubDate>
		<guid>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'm thinking of a caption type situation. Also, what if my images did not have a class (i'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-4504</link>
		<author>Jack</author>
		<pubDate>Tue, 10 Apr 2007 16:49:02 +0000</pubDate>
		<guid>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'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's order in the document you could use jQuery to target the nth image.

Finding all images in a particular div is easy:

$('div#foo img').each(function(){ alert('function goes here'); });</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>$(&#8217;div#foo img&#8217;).each(function(){ alert(&#8217;function goes here&#8217;); });</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>
		<author>&#160; CSS &#38; Javascript Image Drop Shadows &#160;by&#160;The Big Article</author>
		<pubDate>Fri, 29 Jun 2007 08:47:57 +0000</pubDate>
		<guid>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(){ $("img.dropshadow-right") .wrap(" &#8221; + &#8220; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <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(){ $(&#8221;img.dropshadow-right&#8221;) .wrap(&#8221; &#8221; + &#8220; [&#8230;]</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>
		<author>&#160; CSS &#38; Javascript Image Drop Shadows&#160;by&#160;The Big Article</author>
		<pubDate>Fri, 29 Jun 2007 10:16:13 +0000</pubDate>
		<guid>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>[&#8230;] 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 [&#8230;]</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>
		<author>Daniel</author>
		<pubDate>Tue, 18 Mar 2008 02:58:38 +0000</pubDate>
		<guid>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: $("img.dropshadow") has no properties. Please help, I thought this might be occurring because the element hasn'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(){

$("img.dropshadow").wrap("" + "");

}); any pointers please?</description>
		<content:encoded><![CDATA[<p>I am sorry but I keep getting this error: $(&#8221;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>$(&#8221;img.dropshadow&#8221;).wrap(&#8221;" + &#8220;&#8221;);</p>
<p>}); any pointers please?</p>
]]></content:encoded>
				</item>
</channel>
</rss>
