<?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: Cloning table rows and jQuery UI Datepicker()</title>
	<atom:link href="http://www.beginnercode.com/2009/12/17/cloning-table-rows-and-jquery-ui-datepicker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beginnercode.com/2009/12/17/cloning-table-rows-and-jquery-ui-datepicker/</link>
	<description>The adventures of an amateur coder</description>
	<lastBuildDate>Thu, 22 Jul 2010 03:27:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: scott</title>
		<link>http://www.beginnercode.com/2009/12/17/cloning-table-rows-and-jquery-ui-datepicker/comment-page-1/#comment-142462</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Tue, 15 Jun 2010 07:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.beginnercode.com/?p=254#comment-142462</guid>
		<description>cheers guys.</description>
		<content:encoded><![CDATA[<p>cheers guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ^Lestat</title>
		<link>http://www.beginnercode.com/2009/12/17/cloning-table-rows-and-jquery-ui-datepicker/comment-page-1/#comment-141803</link>
		<dc:creator>^Lestat</dc:creator>
		<pubDate>Mon, 22 Mar 2010 22:59:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.beginnercode.com/?p=254#comment-141803</guid>
		<description>&lt;a href=&quot;#comment-141802&quot;&gt;@Lee Kelleher &lt;/a&gt; 
Cool and thanks for the non-spam comment hehe. After posting it I realized I could have made it cleaner. I havent tried your way of doing it. What I am curious about is re-init-ing the datepicker again. Especially on a colorbox form with multiple pickers. Would re-init-ing (hard to spell) cause problems?</description>
		<content:encoded><![CDATA[<p><a href="#comment-141802">@Lee Kelleher </a><br />
Cool and thanks for the non-spam comment hehe. After posting it I realized I could have made it cleaner. I havent tried your way of doing it. What I am curious about is re-init-ing the datepicker again. Especially on a colorbox form with multiple pickers. Would re-init-ing (hard to spell) cause problems?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Kelleher</title>
		<link>http://www.beginnercode.com/2009/12/17/cloning-table-rows-and-jquery-ui-datepicker/comment-page-1/#comment-141802</link>
		<dc:creator>Lee Kelleher</dc:creator>
		<pubDate>Mon, 22 Mar 2010 22:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.beginnercode.com/?p=254#comment-141802</guid>
		<description>Hi ,

I&#039;ve just hit the same problem in jQuery, (trying to clone/duplicate table rows) so glad I found your blog post!  After a bit more refactoring, I streamlined it a bit more.  Take a look, see what you think:

$(&#039;.hasDatepicker&#039;, newRow).each(function(){ $(this).removeClass(&#039;hasDatepicker&#039;).removeAttr(&#039;id&#039;).datepicker( { dateFormat: &#039;dd/mm/yy&#039; } ); });

Now instead of incrementing the ID, we remove it and let the datepicker re-init take care of that!

Cheers, Lee.</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>I&#8217;ve just hit the same problem in jQuery, (trying to clone/duplicate table rows) so glad I found your blog post!  After a bit more refactoring, I streamlined it a bit more.  Take a look, see what you think:</p>
<p>$(&#8216;.hasDatepicker&#8217;, newRow).each(function(){ $(this).removeClass(&#8216;hasDatepicker&#8217;).removeAttr(&#8216;id&#8217;).datepicker( { dateFormat: &#8216;dd/mm/yy&#8217; } ); });</p>
<p>Now instead of incrementing the ID, we remove it and let the datepicker re-init take care of that!</p>
<p>Cheers, Lee.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
