<?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; Javascript</title>
	<atom:link href="http://ruyrocha.com/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruyrocha.com</link>
	<description>As Diehard As They Come</description>
	<lastBuildDate>Tue, 24 Aug 2010 10:44:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<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>

]]></content:encoded>
			<wfw:commentRss>http://ruyrocha.com/jquery-mascarando-campos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 3/17 queries in 0.003 seconds using memcached
Object Caching 362/655 objects using apc

Served from: ruyrocha.com @ 2010-09-07 09:45:25 -->