<?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: Masked Input Plugin 1.2.1</title> <atom:link href="http://digitalbush.com/2008/12/22/masked-input-plugin-121/feed/" rel="self" type="application/rss+xml" /><link>http://digitalbush.com/2008/12/22/masked-input-plugin-121/</link> <description>Tales of a Tormented Software Developer</description> <lastBuildDate>Tue, 07 Feb 2012 11:47:55 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: Addask</title><link>http://digitalbush.com/2008/12/22/masked-input-plugin-121/comment-page-1/#comment-3176</link> <dc:creator>Addask</dc:creator> <pubDate>Tue, 12 Jul 2011 21:15:22 +0000</pubDate> <guid
isPermaLink="false">http://digitalbush.com/?p=285#comment-3176</guid> <description>Hello, how i can release option part in phone mask like (?99999)999999 (code of city can be 3 or 5 numbers).thx</description> <content:encoded><![CDATA[<p>Hello, how i can release option part in phone mask like (?99999)999999 (code of city can be 3 or 5 numbers).</p><p>thx</p> ]]></content:encoded> </item> <item><title>By: Frank</title><link>http://digitalbush.com/2008/12/22/masked-input-plugin-121/comment-page-1/#comment-3034</link> <dc:creator>Frank</dc:creator> <pubDate>Tue, 02 Nov 2010 00:23:00 +0000</pubDate> <guid
isPermaLink="false">http://digitalbush.com/?p=285#comment-3034</guid> <description>I am making a phone field for a form.  There is only one field originally but the user has the ability to add fields on the fly.  What I currently have isfunction maskPhone(){
$(&#039;.phone&#039;).mask(&quot;(999)999-9999&quot;);
};which masks the phone for the most current field.  This function gets called when the body loads and every time a new phone field gets inserted.  If I add a new phone field I mess up the first field and makes it impossible to edit.  Does this plugin have a problem with adding input fields like this or am I doing this the wrong way.</description> <content:encoded><![CDATA[<p>I am making a phone field for a form.  There is only one field originally but the user has the ability to add fields on the fly.  What I currently have is</p><p>function maskPhone(){<br
/> $(&#8216;.phone&#8217;).mask(&#8220;(999)999-9999&#8243;);<br
/> };</p><p>which masks the phone for the most current field.  This function gets called when the body loads and every time a new phone field gets inserted.  If I add a new phone field I mess up the first field and makes it impossible to edit.  Does this plugin have a problem with adding input fields like this or am I doing this the wrong way.</p> ]]></content:encoded> </item> <item><title>By: Dewey Bushaw</title><link>http://digitalbush.com/2008/12/22/masked-input-plugin-121/comment-page-1/#comment-2990</link> <dc:creator>Dewey Bushaw</dc:creator> <pubDate>Fri, 23 Jul 2010 17:49:47 +0000</pubDate> <guid
isPermaLink="false">http://digitalbush.com/?p=285#comment-2990</guid> <description>@Brian TafoyaYou need to call the unmask function before resetting the mask.$(&#039;.creditCard&#039;).mask(&#039;9999-9999-9999-9999&#039;)
$(&#039;.creditCard&#039;).unmask()
$(&#039;.creditCard&#039;).mask(&#039;9999-9999-9999&#039;)</description> <content:encoded><![CDATA[<p>@Brian Tafoya</p><p>You need to call the unmask function before resetting the mask.</p><p>$(&#8216;.creditCard&#8217;).mask(&#8217;9999-9999-9999-9999&#8242;)<br
/> $(&#8216;.creditCard&#8217;).unmask()<br
/> $(&#8216;.creditCard&#8217;).mask(&#8217;9999-9999-9999&#8242;)</p> ]]></content:encoded> </item> <item><title>By: Otto</title><link>http://digitalbush.com/2008/12/22/masked-input-plugin-121/comment-page-1/#comment-2464</link> <dc:creator>Otto</dc:creator> <pubDate>Fri, 15 May 2009 13:39:26 +0000</pubDate> <guid
isPermaLink="false">http://digitalbush.com/?p=285#comment-2464</guid> <description>How can I mask hour? Is regex supported?
For example: 23:00 is valid, but 25:00 isn&#039;t. The 2nd digit depends on the first.Thanks.</description> <content:encoded><![CDATA[<p>How can I mask hour? Is regex supported?<br
/> For example: 23:00 is valid, but 25:00 isn&#8217;t. The 2nd digit depends on the first.</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: Kenneth</title><link>http://digitalbush.com/2008/12/22/masked-input-plugin-121/comment-page-1/#comment-2427</link> <dc:creator>Kenneth</dc:creator> <pubDate>Mon, 02 Mar 2009 20:26:01 +0000</pubDate> <guid
isPermaLink="false">http://digitalbush.com/?p=285#comment-2427</guid> <description>I think I have a quick/dirty workaround so that the mask doesn&#039;t mess with readonly input&#039;s edit-ability (but still applies the mask look/style).At the bottom of the 1.2.1 js file, I simply wrapped the bindings for the keydown and keypress events in an if-readonly check like this:if (!input.attr(&quot;readonly&quot;)) {
input
.bind(&quot;keydown.mask&quot;, keydownEvent)
.bind(&quot;keypress.mask&quot;, keypressEvent);
}so far so good-
Kenneth</description> <content:encoded><![CDATA[<p>I think I have a quick/dirty workaround so that the mask doesn&#8217;t mess with readonly input&#8217;s edit-ability (but still applies the mask look/style).</p><p>At the bottom of the 1.2.1 js file, I simply wrapped the bindings for the keydown and keypress events in an if-readonly check like this:</p><p>if (!input.attr(&#8220;readonly&#8221;)) {<br
/> input<br
/> .bind(&#8220;keydown.mask&#8221;, keydownEvent)<br
/> .bind(&#8220;keypress.mask&#8221;, keypressEvent);<br
/> }</p><p>so far so good-<br
/> Kenneth</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 2/12 queries in 0.006 seconds using apc

Served from: _ @ 2012-02-09 06:54:48 -->
