<?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: Limit &#8211; Limit the number of characters in a textarea jQuery plugin</title>
	<atom:link href="http://www.unwrongest.com/projects/limit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unwrongest.com/projects/limit/</link>
	<description>Interaction Designer and Interface Developer</description>
	<lastBuildDate>Tue, 07 Sep 2010 11:45:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Tarek</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1560</link>
		<dc:creator>Tarek</dc:creator>
		<pubDate>Tue, 09 Feb 2010 17:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1560</guid>
		<description>This is great, I did read yours after I posted mine and we basically are doing the same thing. I feel better that someone else is thinking along the same line ... Great job</description>
		<content:encoded><![CDATA[<p>This is great, I did read yours after I posted mine and we basically are doing the same thing. I feel better that someone else is thinking along the same line &#8230; Great job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tarek</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1559</link>
		<dc:creator>Tarek</dc:creator>
		<pubDate>Tue, 09 Feb 2010 17:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1559</guid>
		<description>I like the concept, so I built mine based on your concept:

function ValidateSize(_obj, _allowedsize)
{
	
	if($(&quot;#&quot; + _obj).val().length &lt;= _allowedsize)
	 {
		LIMIT_CHAR = false;
		$(&quot;#limit&quot;).html(&#039;Maximum allowed characters &#039; + _allowedsize);
		$(&quot;#&quot; + _obj).removeClass(&quot;error&quot;);
		return false;
	 }
	 else
	 {
		LIMIT_CHAR = true; 
	 	$(&quot;#&quot; + _obj).addClass(&quot;error&quot;);
		$(&quot;#&quot; + _obj).val($(&quot;#&quot; + _obj).val().substring(0, _allowedsize));
	 	$(&quot;#limit&quot;).html(&#039;Allowed number of characters reached.&#039;);
		return false;
	 }
}

Plug the ValidateSize in the onkeyup or onkeypress event of the object you need to limit.</description>
		<content:encoded><![CDATA[<p>I like the concept, so I built mine based on your concept:</p>
<p>function ValidateSize(_obj, _allowedsize)<br />
{</p>
<p>	if($(&#8220;#&#8221; + _obj).val().length &lt;= _allowedsize)<br />
	 {<br />
		LIMIT_CHAR = false;<br />
		$(&#8220;#limit&#8221;).html(&#8216;Maximum allowed characters &#8216; + _allowedsize);<br />
		$(&#8220;#&#8221; + _obj).removeClass(&#8220;error&#8221;);<br />
		return false;<br />
	 }<br />
	 else<br />
	 {<br />
		LIMIT_CHAR = true;<br />
	 	$(&#8220;#&#8221; + _obj).addClass(&#8220;error&#8221;);<br />
		$(&#8220;#&#8221; + _obj).val($(&#8220;#&#8221; + _obj).val().substring(0, _allowedsize));<br />
	 	$(&#8220;#limit&#8221;).html(&#8216;Allowed number of characters reached.&#8217;);<br />
		return false;<br />
	 }<br />
}</p>
<p>Plug the ValidateSize in the onkeyup or onkeypress event of the object you need to limit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: QuackFuzed</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1519</link>
		<dc:creator>QuackFuzed</dc:creator>
		<pubDate>Sun, 17 Jan 2010 23:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1519</guid>
		<description>Hello,

Very nice plugin, but like a couple of others, I was unable to get your demo (this page) working in IE7 (build 7.0.5730.13) or IE8 (multiple machines, using build 8.0.6001.18702).  Personally I loathe IE and its use should be punishable by death, but unfortunately many people drink the IE Kool-Aid and the powers that be have net yet passed my proposed legislation.  This ultimately means that I cannot rely on a solution that does not work in IE.  :-(

Do you have any plans to &quot;fix&quot; the Limit plugin to include support for IE?  I say &quot;fix&quot; because IE is the issue, and the only appropriate fix is for IE to be wiped from existence.  ;-)</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Very nice plugin, but like a couple of others, I was unable to get your demo (this page) working in IE7 (build 7.0.5730.13) or IE8 (multiple machines, using build 8.0.6001.18702).  Personally I loathe IE and its use should be punishable by death, but unfortunately many people drink the IE Kool-Aid and the powers that be have net yet passed my proposed legislation.  This ultimately means that I cannot rely on a solution that does not work in IE.  :-(</p>
<p>Do you have any plans to &#8220;fix&#8221; the Limit plugin to include support for IE?  I say &#8220;fix&#8221; because IE is the issue, and the only appropriate fix is for IE to be wiped from existence.  ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaviloff</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1476</link>
		<dc:creator>Vaviloff</dc:creator>
		<pubDate>Sat, 26 Dec 2009 03:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1476</guid>
		<description>Thanks, nice neat script that does as is called.</description>
		<content:encoded><![CDATA[<p>Thanks, nice neat script that does as is called.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramito</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1468</link>
		<dc:creator>ramito</dc:creator>
		<pubDate>Mon, 21 Dec 2009 08:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1468</guid>
		<description>Hello Jan,
Little bug when using Limit and DefaultValue on the same textarea :
When the default value is shown, chars left should show the maximum allowed chars, and not substract the default value&#039;s length from it, since the default value should not count as text...

Hope this helps :)</description>
		<content:encoded><![CDATA[<p>Hello Jan,<br />
Little bug when using Limit and DefaultValue on the same textarea :<br />
When the default value is shown, chars left should show the maximum allowed chars, and not substract the default value&#8217;s length from it, since the default value should not count as text&#8230;</p>
<p>Hope this helps :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: axe</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1270</link>
		<dc:creator>axe</dc:creator>
		<pubDate>Tue, 10 Nov 2009 14:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1270</guid>
		<description>This script is buggy in IE8.</description>
		<content:encoded><![CDATA[<p>This script is buggy in IE8.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skybondsor</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1107</link>
		<dc:creator>skybondsor</dc:creator>
		<pubDate>Wed, 26 Aug 2009 16:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1107</guid>
		<description>Thank you for this!  It&#039;s just what I&#039;d been looking for.</description>
		<content:encoded><![CDATA[<p>Thank you for this!  It&#8217;s just what I&#8217;d been looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zhiyin</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1050</link>
		<dc:creator>zhiyin</dc:creator>
		<pubDate>Tue, 11 Aug 2009 21:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1050</guid>
		<description>my skype id is zhiyin.pan, 
if you have time, we can use teamviewer. so you can see what I am saying.</description>
		<content:encoded><![CDATA[<p>my skype id is zhiyin.pan,<br />
if you have time, we can use teamviewer. so you can see what I am saying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Jarfalk</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1049</link>
		<dc:creator>Jan Jarfalk</dc:creator>
		<pubDate>Tue, 11 Aug 2009 21:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1049</guid>
		<description>Hi zhiyin,
I would like to help you, but im not sure I understand what a multi-character input is.
Could you upload something where the problem/bug could be reproduced?</description>
		<content:encoded><![CDATA[<p>Hi zhiyin,<br />
I would like to help you, but im not sure I understand what a multi-character input is.<br />
Could you upload something where the problem/bug could be reproduced?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zhiyin</title>
		<link>http://www.unwrongest.com/projects/limit/comment-page-1/#comment-1048</link>
		<dc:creator>zhiyin</dc:creator>
		<pubDate>Tue, 11 Aug 2009 21:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://unwr/?p=92#comment-1048</guid>
		<description>Hello there, 

thanks for the nice plugin. 
I have noticed a bug in the plugin when dealing with multi-character inputs. it is likely because that the input method allows multiple characters to be inserted at the same time, when i reached the proposed limit, My entire textarea got reset. all the previous input is lost. 

Could you take a look at this issue? 

thx, 

Zhiyin</description>
		<content:encoded><![CDATA[<p>Hello there, </p>
<p>thanks for the nice plugin.<br />
I have noticed a bug in the plugin when dealing with multi-character inputs. it is likely because that the input method allows multiple characters to be inserted at the same time, when i reached the proposed limit, My entire textarea got reset. all the previous input is lost. </p>
<p>Could you take a look at this issue? </p>
<p>thx, </p>
<p>Zhiyin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
