<?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: Add and Remove items with jQuery</title>
	<atom:link href="http://muiomuio.com/web-design/add-remove-items-with-jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://muiomuio.com/web-design/add-remove-items-with-jquery</link>
	<description>HTML, CSS, SEO &#38; Information Architecture</description>
	<lastBuildDate>Fri, 30 Mar 2012 18:41:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Biju Subhash</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-57623</link>
		<dc:creator>Biju Subhash</dc:creator>
		<pubDate>Thu, 22 Sep 2011 13:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-57623</guid>
		<description>thank you for sharing.. .</description>
		<content:encoded><![CDATA[<p>thank you for sharing.. .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harry</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-19228</link>
		<dc:creator>harry</dc:creator>
		<pubDate>Thu, 30 Dec 2010 19:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-19228</guid>
		<description>how would i go about assigning an id to a list of elements?</description>
		<content:encoded><![CDATA[<p>how would i go about assigning an id to a list of elements?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-14301</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Sat, 13 Nov 2010 15:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-14301</guid>
		<description>You&#039;ll probably just want to delete all of those repeats.

But anyways, the modification I&#039;m using is:

$(&#039;&lt;p&gt;Username &#039; + i + &#039;: &lt;input type=&quot;text&quot; id=&quot;user&#039; + i + &#039;&quot; name=&quot;user&#039; + i + &#039;&quot; onblur=&quot;javascript:checkl(this.name, this.value, 1, 10);&quot;&gt;&lt;/p&gt;&#039;).animate({ opacity: &quot;show&quot; }, &quot;slow&quot;).appendTo(&#039;#inputs&#039;);

Lo siento, apologies Mário.</description>
		<content:encoded><![CDATA[<p>You&#8217;ll probably just want to delete all of those repeats.</p>
<p>But anyways, the modification I&#8217;m using is:</p>
<p>$(&#8216;&lt;p&gt;Username &#8216; + i + &#8216;: &lt;input type=&#8221;text&#8221; id=&#8221;user&#8217; + i + &#8216;&#8221; name=&#8221;user&#8217; + i + &#8216;&#8221; onblur=&#8221;javascript:checkl(this.name, this.value, 1, 10);&#8221;&gt;&lt;/p&gt;&#8217;).animate({ opacity: &#8220;show&#8221; }, &#8220;slow&#8221;).appendTo(&#8216;#inputs&#8217;);</p>
<p>Lo siento, apologies Mário.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-14299</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Sat, 13 Nov 2010 15:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-14299</guid>
		<description>Ha, must be wordpress killing the input. Here it is one last time:

$(&#039;{}Username &#039; + i + &#039;: {}{}&#039;).animate({ opacity: &quot;show&quot; }, &quot;slow&quot;).appendTo(&#039;#inputs&#039;);</description>
		<content:encoded><![CDATA[<p>Ha, must be wordpress killing the input. Here it is one last time:</p>
<p>$(&#8216;{}Username &#8216; + i + &#8216;: {}{}&#8217;).animate({ opacity: &#8220;show&#8221; }, &#8220;slow&#8221;).appendTo(&#8216;#inputs&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-14298</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Sat, 13 Nov 2010 15:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-14298</guid>
		<description>Apologies for some reason my comment appears incorrectly,

$(‘Username ‘ + i + ‘: ‘).animate({ opacity: “show” }, “slow”).appendTo(‘#inputs’);

should be:

$(&#039;Username &#039; + i + &#039;: &#039;).animate({ opacity: &quot;show&quot; }, &quot;slow&quot;).appendTo(&#039;#inputs&#039;);</description>
		<content:encoded><![CDATA[<p>Apologies for some reason my comment appears incorrectly,</p>
<p>$(‘Username ‘ + i + ‘: ‘).animate({ opacity: “show” }, “slow”).appendTo(‘#inputs’);</p>
<p>should be:</p>
<p>$(&#8216;Username &#8216; + i + &#8216;: &#8216;).animate({ opacity: &#8220;show&#8221; }, &#8220;slow&#8221;).appendTo(&#8216;#inputs&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-14297</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Sat, 13 Nov 2010 15:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-14297</guid>
		<description>Really like your little script here. I&#039;ve been working on using for myself, but was wondering if you knew of a way to focus() on a particular input after adding a row. I already have unique ID&#039;s/names worked out and what I&#039;m trying to do is check the field with javascript and then say for example it is blank, refocus on the field.

Here&#039;s the modification I&#039;m using:

$(&#039;Username &#039; + i + &#039;: &#039;).animate({ opacity: &quot;show&quot; }, &quot;slow&quot;).appendTo(&#039;#inputs&#039;);

 $(&#039;#user4&#039;).focus(); works but only within 
$(&#039;a.add&#039;).click(function() { ...
and obviously I have to validate the field first. 

Very confused because after validation I take the name of the field that is passed through the checkl() via onblue and tried this:
document.getElementById(name).focus(); // doesn&#039;t work
document.getElementById(name).style.backgroundColor=&quot;#72A4D2&quot;; // works just fine!

Any ideas on how to focus() would be appreciated. Thanks again for the script. :)</description>
		<content:encoded><![CDATA[<p>Really like your little script here. I&#8217;ve been working on using for myself, but was wondering if you knew of a way to focus() on a particular input after adding a row. I already have unique ID&#8217;s/names worked out and what I&#8217;m trying to do is check the field with javascript and then say for example it is blank, refocus on the field.</p>
<p>Here&#8217;s the modification I&#8217;m using:</p>
<p>$(&#8216;Username &#8216; + i + &#8216;: &#8216;).animate({ opacity: &#8220;show&#8221; }, &#8220;slow&#8221;).appendTo(&#8216;#inputs&#8217;);</p>
<p> $(&#8216;#user4&#8242;).focus(); works but only within<br />
$(&#8216;a.add&#8217;).click(function() { &#8230;<br />
and obviously I have to validate the field first. </p>
<p>Very confused because after validation I take the name of the field that is passed through the checkl() via onblue and tried this:<br />
document.getElementById(name).focus(); // doesn&#8217;t work<br />
document.getElementById(name).style.backgroundColor=&#8221;#72A4D2&#8243;; // works just fine!</p>
<p>Any ideas on how to focus() would be appreciated. Thanks again for the script. <img src='http://muiomuio.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario Andrade</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-3590</link>
		<dc:creator>Mario Andrade</dc:creator>
		<pubDate>Sun, 04 Jul 2010 13:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-3590</guid>
		<description>I guess you just need to give a unique ID or Class to the element you want to remove. Give it some unique way of identify it and use it with the .remove function:

So if you element is called foo use $(&#039;foo&#039;).remove</description>
		<content:encoded><![CDATA[<p>I guess you just need to give a unique ID or Class to the element you want to remove. Give it some unique way of identify it and use it with the .remove function:</p>
<p>So if you element is called foo use $(&#8216;foo&#8217;).remove</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onion</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-3585</link>
		<dc:creator>Onion</dc:creator>
		<pubDate>Sun, 04 Jul 2010 13:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-3585</guid>
		<description>Hi, nice simple tutorial, thanks for that. 
I&#039;m looking for one a slight bit more complicated where you can remove specific items, your &quot;remove&quot; button will always remove the last in the list. Can you recommend a good tutorial?</description>
		<content:encoded><![CDATA[<p>Hi, nice simple tutorial, thanks for that.<br />
I&#8217;m looking for one a slight bit more complicated where you can remove specific items, your &#8220;remove&#8221; button will always remove the last in the list. Can you recommend a good tutorial?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andar Sevenfold</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-1827</link>
		<dc:creator>Andar Sevenfold</dc:creator>
		<pubDate>Fri, 14 May 2010 18:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-1827</guid>
		<description>how can I add the submit button and write the value at the field?</description>
		<content:encoded><![CDATA[<p>how can I add the submit button and write the value at the field?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas</title>
		<link>http://muiomuio.com/web-design/add-remove-items-with-jquery/comment-page-1#comment-1709</link>
		<dc:creator>Lucas</dc:creator>
		<pubDate>Mon, 03 May 2010 07:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://muiomuio.com/?p=63#comment-1709</guid>
		<description>Nice and easy, but it&#039;s not working correctly in IE (tested in IE 7).</description>
		<content:encoded><![CDATA[<p>Nice and easy, but it&#8217;s not working correctly in IE (tested in IE 7).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
