<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ruy Rocha &#187; masked input</title>
	<atom:link href="http://ruyrocha.com/tag/masked-input/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruyrocha.com</link>
	<description>it&#039;s a long way to the top if you wanna rock and roll</description>
	<lastBuildDate>Thu, 01 Mar 2012 11:53:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>jQuery &#8211; Mascarando Campos</title>
		<link>http://ruyrocha.com/jquery-mascarando-campos/</link>
		<comments>http://ruyrocha.com/jquery-mascarando-campos/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 18:15:46 +0000</pubDate>
		<dc:creator>Ruy Rocha</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mascarar campos]]></category>
		<category><![CDATA[masked input]]></category>

		<guid isPermaLink="false">http://ruyrocha.com/?p=74</guid>
		<description><![CDATA[O plugin Masked Input para jQuery adiciona máscara aos campos. Sério, ex: %input#phone{:type =&#62; &#34;text&#34;}/ E no application.js: jQuery&#40;function&#40;$&#41;&#123; $&#40;&#34;#phone&#34;&#41;.mask&#40;&#34;?(99) 9999-9999&#34;&#41;; &#125;&#41;;]]></description>
			<content:encoded><![CDATA[<p>O plugin <a title="Masked Input" href="http://digitalbush.com/projects/masked-input-plugin/">Masked Input</a> para jQuery adiciona máscara aos campos. Sério, ex:</p>

<div class="wp_syntax"><div class="code"><pre class="haml" style="font-family:monospace;">%input#phone{:type =&gt; &quot;text&quot;}/</pre></div></div>

<p>E no application.js:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">jQuery<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#phone&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">mask</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;?(99) 9999-9999&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<div class="al2fb_like_button"><div id="fb-root"></div><script type="text/javascript">
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1&appId=159773440769970";
  fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "facebook-jssdk"));
</script>
<fb:like href="http://ruyrocha.com/jquery-mascarando-campos/" send="true" layout="standard" show_faces="true" width="450" action="like" font="arial" colorscheme="light" ref="AL2FB"></fb:like></div>]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/jquery-mascarando-campos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

