<?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: How to create input masks in HTML</title>
	<atom:link href="http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Blog do Márcio d&#8217;Ávila &#187; Máscara de formatação em campos de formulário HTML</title>
		<link>http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/#comment-18051</link>
		<dc:creator>Blog do Márcio d&#8217;Ávila &#187; Máscara de formatação em campos de formulário HTML</dc:creator>
		<pubDate>Fri, 19 Mar 2010 11:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=171#comment-18051</guid>
		<description>[...] How to create input masks in HTML - HTML Input Mask, por Baron Schwartz (Xaprb). Novo repositório do código em Google Code: Flexible JS Formatting Libraries. [...]</description>
		<content:encoded><![CDATA[<p>[...] How to create input masks in HTML &#8211; HTML Input Mask, por Baron Schwartz (Xaprb). Novo repositório do código em Google Code: Flexible JS Formatting Libraries. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Titi Alailima</title>
		<link>http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/#comment-15958</link>
		<dc:creator>Titi Alailima</dc:creator>
		<pubDate>Mon, 09 Mar 2009 16:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=171#comment-15958</guid>
		<description>I have uploaded my changes to the SVN repository at Google, so if anyone wants it they can get it.  Email me at tigretigre@gmail.com if you want any more additions/fixes as Baron is not up for maintaining this himself any more.</description>
		<content:encoded><![CDATA[<p>I have uploaded my changes to the SVN repository at Google, so if anyone wants it they can get it.  Email me at <a href="mailto:tigretigre@gmail.com">tigretigre@gmail.com</a> if you want any more additions/fixes as Baron is not up for maintaining this himself any more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/#comment-15947</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Sun, 08 Mar 2009 14:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=171#comment-15947</guid>
		<description>Titi,

Please request developer access to http://code.google.com/p/flexible-js-formatting/ and I&#039;ll grant you commit rights.</description>
		<content:encoded><![CDATA[<p>Titi,</p>
<p>Please request developer access to <a href="http://code.google.com/p/flexible-js-formatting/" rel="nofollow">http://code.google.com/p/flexible-js-formatting/</a> and I&#8217;ll grant you commit rights.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Titi Alailima</title>
		<link>http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/#comment-15932</link>
		<dc:creator>Titi Alailima</dc:creator>
		<pubDate>Thu, 05 Mar 2009 17:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=171#comment-15932</guid>
		<description>getElementsByClassName is a native function in Firefox 3 and is thus being deprecated is Prototype.

Another feature I added is pre-filling characters so that you know it&#039;s happening.  Otherwise you may wonder why it&#039;s not letting you type a hyphen your SSN.

if ( mask.format.charAt(pos - 1) != &#039; &#039; ) {
                  str = this.value + mask.format.charAt(pos - 1) + ch;
               }
	       // Added by titi@medtouch.com 2009-03-05 so that it fills in
	       // chars ahead of the cursor as well
               if ( mask.format.charAt(pos) != &#039; &#039; ) {
                  str += mask.format.charAt(pos);
               }

I think this might have an issue if it has to back-fill and forward-fill on the same char, but that can be fixed should anyone ever have a pattern that required it.</description>
		<content:encoded><![CDATA[<p>getElementsByClassName is a native function in Firefox 3 and is thus being deprecated is Prototype.</p>
<p>Another feature I added is pre-filling characters so that you know it&#8217;s happening.  Otherwise you may wonder why it&#8217;s not letting you type a hyphen your SSN.</p>
<p>if ( mask.format.charAt(pos &#8211; 1) != &#8216; &#8216; ) {<br />
                  str = this.value + mask.format.charAt(pos &#8211; 1) + ch;<br />
               }<br />
	       // Added by <a href="mailto:titi@medtouch.com">titi@medtouch.com</a> 2009-03-05 so that it fills in<br />
	       // chars ahead of the cursor as well<br />
               if ( mask.format.charAt(pos) != &#8216; &#8216; ) {<br />
                  str += mask.format.charAt(pos);<br />
               }</p>
<p>I think this might have an issue if it has to back-fill and forward-fill on the same char, but that can be fixed should anyone ever have a pattern that required it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bisi2poche</title>
		<link>http://www.xaprb.com/blog/2006/11/02/how-to-create-input-masks-in-html/#comment-15055</link>
		<dc:creator>bisi2poche</dc:creator>
		<pubDate>Fri, 22 Aug 2008 09:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=171#comment-15055</guid>
		<description>Thank&#039;s a lot for this usefull script.

I notice that setupElementMasks should use : $$(&#039;.input_mask&#039;)
instead of document.getElementsByClassName
(I don&#039;t know why, but getElementsByClassName give me an error with prototype 1.6.0.2)</description>
		<content:encoded><![CDATA[<p>Thank&#8217;s a lot for this usefull script.</p>
<p>I notice that setupElementMasks should use : $$(&#8216;.input_mask&#8217;)<br />
instead of document.getElementsByClassName<br />
(I don&#8217;t know why, but getElementsByClassName give me an error with prototype 1.6.0.2)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

