<?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: Maxlength for textarea using jQuery</title>
	<atom:link href="http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 06 Sep 2010 11:57:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Boba</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1353</link>
		<dc:creator>Boba</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1353</guid>
		<description>Try &lt; and &gt; :)

Edit:

&amp;lt and &amp;gt with the ; at the end :)</description>
		<content:encoded><![CDATA[<p>Try &lt; and &gt; <img src='http://web.enavu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Edit:</p>
<p>&#038;lt and &#038;gt with the ; at the end <img src='http://web.enavu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaap</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1352</link>
		<dc:creator>Jaap</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1352</guid>
		<description>I saw that the blog stripped out the little HTML I punt in... so I&#039;ll explain.

You can just add a span or div with the class &quot;remaining&quot; and it&#039;ll smash in the text there...

You could also make it prettier by doing this:

		var chars = text.length;

		var charsLeft = limit - text.length;

		if(charsLeft &lt; 1 ){
			charsLeft = &#039;No&#039;;
		}

        $(&quot;.remaining&quot;).html(charsLeft + &quot; letters left.&quot;);

I added dashes in the hope the span now stays in tact...

Cheers!</description>
		<content:encoded><![CDATA[<p>I saw that the blog stripped out the little HTML I punt in&#8230; so I&#8217;ll explain.</p>
<p>You can just add a span or div with the class &#8220;remaining&#8221; and it&#8217;ll smash in the text there&#8230;</p>
<p>You could also make it prettier by doing this:</p>
<p>		var chars = text.length;</p>
<p>		var charsLeft = limit &#8211; text.length;</p>
<p>		if(charsLeft &lt; 1 ){<br />
			charsLeft = &#039;No&#8217;;<br />
		}</p>
<p>        $(&#8220;.remaining&#8221;).html(charsLeft + &#8221; letters left.&#8221;);</p>
<p>I added dashes in the hope the span now stays in tact&#8230;</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaap</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1351</link>
		<dc:creator>Jaap</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1351</guid>
		<description>For extra convience you can also add a counter.
Just add a span somewhere

 (Added spaces for display purposes)

And add a litle piece of js:

$(&quot;.remaining&quot;).html((limit - text.length) + &quot; letters remaining.&quot;);

Or:

$(&quot;.remaining&quot;).html((text.length) + &quot; letters written.&quot;);</description>
		<content:encoded><![CDATA[<p>For extra convience you can also add a counter.<br />
Just add a span somewhere</p>
<p> (Added spaces for display purposes)</p>
<p>And add a litle piece of js:</p>
<p>$(&#8220;.remaining&#8221;).html((limit &#8211; text.length) + &#8221; letters remaining.&#8221;);</p>
<p>Or:</p>
<p>$(&#8220;.remaining&#8221;).html((text.length) + &#8221; letters written.&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boba</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1350</link>
		<dc:creator>Boba</dc:creator>
		<pubDate>Fri, 11 Dec 2009 09:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1350</guid>
		<description>@Calin - That&#039;s only a little bit of jQuery power. :)</description>
		<content:encoded><![CDATA[<p>@Calin &#8211; That&#8217;s only a little bit of jQuery power. <img src='http://web.enavu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calin</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1349</link>
		<dc:creator>Calin</dc:creator>
		<pubDate>Fri, 11 Dec 2009 09:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1349</guid>
		<description>new in jQuery.
this script proves the power of jQuery.
thanks for sharing</description>
		<content:encoded><![CDATA[<p>new in jQuery.<br />
this script proves the power of jQuery.<br />
thanks for sharing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mosharaf</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1348</link>
		<dc:creator>Mosharaf</dc:creator>
		<pubDate>Fri, 23 Oct 2009 12:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1348</guid>
		<description>Cool code it works! Nice!</description>
		<content:encoded><![CDATA[<p>Cool code it works! Nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boba</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1347</link>
		<dc:creator>Boba</dc:creator>
		<pubDate>Fri, 18 Sep 2009 18:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1347</guid>
		<description>That one doesn&#039;t work with copy paste :)</description>
		<content:encoded><![CDATA[<p>That one doesn&#8217;t work with copy paste <img src='http://web.enavu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupert</title>
		<link>http://web.enavu.com/daily-tip/maxlength-for-textarea-with-jquery/comment-page-1/#comment-1346</link>
		<dc:creator>Rupert</dc:creator>
		<pubDate>Fri, 18 Sep 2009 09:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://tutsvalley.com/?p=279#comment-1346</guid>
		<description>A similar jQuery plugin for setting Maxlength of a textarea:
http://viralpatel.net/blogs/2008/12/set-maxlength-of-textarea-input-using-jquery-javascript.html</description>
		<content:encoded><![CDATA[<p>A similar jQuery plugin for setting Maxlength of a textarea:<br />
<a href="http://viralpatel.net/blogs/2008/12/set-maxlength-of-textarea-input-using-jquery-javascript.html" rel="nofollow">http://viralpatel.net/blogs/2008/12/set-maxlength-of-textarea-input-using-jquery-javascript.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
