<?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 for Rusty Jeans</title>
	<atom:link href="http://rustyjeans.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://rustyjeans.com</link>
	<description>PHP, JavaScript, Whatever...</description>
	<lastBuildDate>Mon, 07 May 2012 16:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>Comment on Input Limiter by Webber</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-3271</link>
		<dc:creator>Webber</dc:creator>
		<pubDate>Mon, 07 May 2012 16:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-3271</guid>
		<description>Hi, 

I Probably found a minor glitch.

If you try to type a number in an input text field that reached the maximum chars number, you can not do it even if you selected the entire text inside.
You can do it if you type a lowercase letter, but you can&#039;t if you try to type a number.

This is a big problem with some fixed lenght numeric fields. For example an Area Code field is a 3 chars long numeric field. 

If you enter it, and it&#039;s already  filled, you can&#039;t type any number even if you should replace the entire string with the numeric char you typed, since the text inside is selected.
The same problem happens even typing an uppercase char, instead of a number.

I think the problem is somewhere in this line of code, but I can&#039;t find where :) :

if(!opts.allowExceed&amp;&amp;(!e.keyCode&#124;&#124;(e.keyCode&gt;46&amp;&amp;e.keyCode=opts.limit){return false;}

Thanks in advance for your help.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I Probably found a minor glitch.</p>
<p>If you try to type a number in an input text field that reached the maximum chars number, you can not do it even if you selected the entire text inside.<br />
You can do it if you type a lowercase letter, but you can&#8217;t if you try to type a number.</p>
<p>This is a big problem with some fixed lenght numeric fields. For example an Area Code field is a 3 chars long numeric field. </p>
<p>If you enter it, and it&#8217;s already  filled, you can&#8217;t type any number even if you should replace the entire string with the numeric char you typed, since the text inside is selected.<br />
The same problem happens even typing an uppercase char, instead of a number.</p>
<p>I think the problem is somewhere in this line of code, but I can&#8217;t find where :) :</p>
<p>if(!opts.allowExceed&amp;&amp;(!e.keyCode||(e.keyCode&gt;46&amp;&amp;e.keyCode=opts.limit){return false;}</p>
<p>Thanks in advance for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Pierre</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-3098</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Sat, 14 Apr 2012 23:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-3098</guid>
		<description>Hi Rusty,
For conveniance reasons, I tried to have multiple fields limited with a class for selector and different limit. I used the attribute maxLength that I set each time. But instead of using Thomas method (which repose on modify the core of your plugin and which doesn&#039;t work for me with multiples elements), I used jQuery &quot;each&quot; function:
$(&#039;.lim&#039;).each(function(key, element){
	var eLimit = $(element).attr(&#039;maxlength&#039;);
	$(element).inputlimiter({
		limit: eLimit,
		remText: &#039;%n caractère%s restant%s.&#039;,
		limitText: &#039;Champ limité à %n caractère%s.&#039;
	});
});
Hope it helps someone else ;)</description>
		<content:encoded><![CDATA[<p>Hi Rusty,<br />
For conveniance reasons, I tried to have multiple fields limited with a class for selector and different limit. I used the attribute maxLength that I set each time. But instead of using Thomas method (which repose on modify the core of your plugin and which doesn&#8217;t work for me with multiples elements), I used jQuery &#8220;each&#8221; function:<br />
$(&#8216;.lim&#8217;).each(function(key, element){<br />
	var eLimit = $(element).attr(&#8216;maxlength&#8217;);<br />
	$(element).inputlimiter({<br />
		limit: eLimit,<br />
		remText: &#8216;%n caractère%s restant%s.&#8217;,<br />
		limitText: &#8216;Champ limité à %n caractère%s.&#8217;<br />
	});<br />
});<br />
Hope it helps someone else ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Rusty</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2692</link>
		<dc:creator>Rusty</dc:creator>
		<pubDate>Tue, 21 Feb 2012 15:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2692</guid>
		<description>Yes, it&#039;s free! You can see the license at the top of the non-minified version of the script.</description>
		<content:encoded><![CDATA[<p>Yes, it&#8217;s free! You can see the license at the top of the non-minified version of the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Joseph</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2687</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Tue, 21 Feb 2012 00:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2687</guid>
		<description>Hi Rusty,
Just wanted to verify - use of the plugin is free (as in beer) right?  Sorry can&#039;t find any license text :(</description>
		<content:encoded><![CDATA[<p>Hi Rusty,<br />
Just wanted to verify &#8211; use of the plugin is free (as in beer) right?  Sorry can&#8217;t find any license text :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Rusty</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2678</link>
		<dc:creator>Rusty</dc:creator>
		<pubDate>Mon, 20 Feb 2012 04:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2678</guid>
		<description>Joseph, glad you figured it out!</description>
		<content:encoded><![CDATA[<p>Joseph, glad you figured it out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Joseph</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2677</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Mon, 20 Feb 2012 03:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2677</guid>
		<description>Hi Rusty,
Thanks for the effort on this.  Finally found the problem.  I just realized Im trying to limit textbox in a popup (i.e z-index&gt;0).  Unfortunately I have indicated a z-index of 8000 in my elements and limittext seems to be defaulting to z-index 2000 - which puts it behind the elements.  I just lowered my z-index so now its displaying nicely</description>
		<content:encoded><![CDATA[<p>Hi Rusty,<br />
Thanks for the effort on this.  Finally found the problem.  I just realized Im trying to limit textbox in a popup (i.e z-index&gt;0).  Unfortunately I have indicated a z-index of 8000 in my elements and limittext seems to be defaulting to z-index 2000 &#8211; which puts it behind the elements.  I just lowered my z-index so now its displaying nicely</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Rusty</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2663</link>
		<dc:creator>Rusty</dc:creator>
		<pubDate>Fri, 17 Feb 2012 16:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2663</guid>
		<description>Joseph, you do not need to create the box that contains the remText, that happens automatically. I tested your scenario and it&#039;s working fine for me. See an example at: http://jsfiddle.net/rustyjeans/FvrYw/</description>
		<content:encoded><![CDATA[<p>Joseph, you do not need to create the box that contains the remText, that happens automatically. I tested your scenario and it&#8217;s working fine for me. See an example at: <a href="http://jsfiddle.net/rustyjeans/FvrYw/" rel="nofollow">http://jsfiddle.net/rustyjeans/FvrYw/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Joseph</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2658</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Fri, 17 Feb 2012 06:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2658</guid>
		<description>Hi Rusty,
Thanks for the Ultra fast comment.  Yeah I actually posted the wrong code ... that one is working properly.  Im getting the text just below the textbox.
Here&#039;s the one thats not working
$(&#039;.txtMessage&#039;).inputlimiter({
limit: 300,
remText: &#039;%n characters remaining&#039;,
});

Here&#039;s how my text area looks like
&lt;textarea class=&quot;txtMessage&quot; id=&quot;txtMessage_&quot;

It is able to limit the text but can&#039;t seem to show remText - please note I haven&#039;t declared any span to contain the remText (didnt create one for the working textbox either)</description>
		<content:encoded><![CDATA[<p>Hi Rusty,<br />
Thanks for the Ultra fast comment.  Yeah I actually posted the wrong code &#8230; that one is working properly.  Im getting the text just below the textbox.<br />
Here&#8217;s the one thats not working<br />
$(&#8216;.txtMessage&#8217;).inputlimiter({<br />
limit: 300,<br />
remText: &#8216;%n characters remaining&#8217;,<br />
});</p>
<p>Here&#8217;s how my text area looks like<br />
&lt;textarea class=&quot;txtMessage&quot; id=&quot;txtMessage_&#8221;</p>
<p>It is able to limit the text but can&#8217;t seem to show remText &#8211; please note I haven&#8217;t declared any span to contain the remText (didnt create one for the working textbox either)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Rusty</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2657</link>
		<dc:creator>Rusty</dc:creator>
		<pubDate>Fri, 17 Feb 2012 05:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2657</guid>
		<description>Joseph, the class selector in jQuery uses a period. # is for selecting by id. To select all textareas with a class of &quot;message&quot; you could use the following code: $(&#039;.message&#039;).inputlimiter({ limit: 300 });</description>
		<content:encoded><![CDATA[<p>Joseph, the class selector in jQuery uses a period. # is for selecting by id. To select all textareas with a class of &#8220;message&#8221; you could use the following code: $(&#8216;.message&#8217;).inputlimiter({ limit: 300 });</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Input Limiter by Joseph</title>
		<link>http://rustyjeans.com/jquery-plugins/input-limiter/comment-page-1#comment-2655</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Fri, 17 Feb 2012 05:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://rustyjeans.com/?page_id=7#comment-2655</guid>
		<description>Hi,
Need help in utilizing this plugin.  I managed to make it work in one of my text fields However Im not too sure how to do it with a class (which is used by my textareas), although limit is enforced, I can&#039;t see the limittext

$(&#039;#message&#039;).inputlimiter({                                        limit: 300,                                        remText: &#039;%n characters remaining&#039;,                                });

The id&#039;s of both text area (and supposedly the span where the message will show is dynamically created - thats why im using class)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Need help in utilizing this plugin.  I managed to make it work in one of my text fields However Im not too sure how to do it with a class (which is used by my textareas), although limit is enforced, I can&#8217;t see the limittext</p>
<p>$(&#8216;#message&#8217;).inputlimiter({                                        limit: 300,                                        remText: &#8216;%n characters remaining&#8217;,                                });</p>
<p>The id&#8217;s of both text area (and supposedly the span where the message will show is dynamically created &#8211; thats why im using class)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

