<?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>Comentários sobre: jQuery Marcar / Desmarcar CheckBoxes</title>
	<atom:link href="http://jaydson.org/jquery-marcar-desmarcar-checkboxes/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaydson.org/jquery-marcar-desmarcar-checkboxes/</link>
	<description>Desenvolvimento Web</description>
	<lastBuildDate>Sat, 14 Jan 2012 13:50:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Por: sergio</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-71</link>
		<dc:creator>sergio</dc:creator>
		<pubDate>Sat, 27 Aug 2011 20:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-71</guid>
		<description>Dei uma enxugada veja como ficou :

var ipts = $(&quot;form&quot;).find(&quot;input&quot;);

function checkAll()
{
// CheckBox que ao ser clicado marca ou desmarca todos elementos
var check = document.getElementById(&quot;lin&quot;);

	jQuery.each(ipts, function(){
		
		// Testamos o CheckBox para ver se devemos marcar ou desmarcar
		
			this.checked = (check.checked);
			
	}
	)
}</description>
		<content:encoded><![CDATA[<p>Dei uma enxugada veja como ficou :</p>
<p>var ipts = $(&#8220;form&#8221;).find(&#8220;input&#8221;);</p>
<p>function checkAll()<br />
{<br />
// CheckBox que ao ser clicado marca ou desmarca todos elementos<br />
var check = document.getElementById(&#8220;lin&#8221;);</p>
<p>	jQuery.each(ipts, function(){</p>
<p>		// Testamos o CheckBox para ver se devemos marcar ou desmarcar</p>
<p>			this.checked = (check.checked);</p>
<p>	}<br />
	)<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Márcio</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-70</link>
		<dc:creator>Márcio</dc:creator>
		<pubDate>Tue, 24 May 2011 21:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-70</guid>
		<description>$(&quot;#checkboxes&quot;).find(&quot;input[type=radio]&quot;).attr(&#039;checked&#039;, false)</description>
		<content:encoded><![CDATA[<p>$(&#8220;#checkboxes&#8221;).find(&#8220;input[type=radio]&#8220;).attr(&#8216;checked&#8217;, false)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Edmarr</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-69</link>
		<dc:creator>Edmarr</dc:creator>
		<pubDate>Tue, 21 Dec 2010 18:58:11 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-69</guid>
		<description>jQuery.each(ipts, function(){
    $(this).attr(&#039;checked&#039;, false);
});</description>
		<content:encoded><![CDATA[<p>jQuery.each(ipts, function(){<br />
    $(this).attr(&#8216;checked&#8217;, false);<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Mauricio</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-68</link>
		<dc:creator>Mauricio</dc:creator>
		<pubDate>Fri, 17 Dec 2010 19:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-68</guid>
		<description>Amigo, fiz uma pequena mudança

function checkAll(check){
	// Atribuímos a variavel ipts todos os inputs encontrados dentro do elemento &quot;#checkboxes&quot;
	var ipts = $(&quot;#checkboxes&quot;).find(&quot;input&quot;);
	
	jQuery.each(ipts, function(){this.checked = check.checked;});
}

    
    
    
    
    
    
    
    
    
    
</description>
		<content:encoded><![CDATA[<p>Amigo, fiz uma pequena mudança</p>
<p>function checkAll(check){<br />
	// Atribuímos a variavel ipts todos os inputs encontrados dentro do elemento &#8220;#checkboxes&#8221;<br />
	var ipts = $(&#8220;#checkboxes&#8221;).find(&#8220;input&#8221;);</p>
<p>	jQuery.each(ipts, function(){this.checked = check.checked;});<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: jaydson</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-67</link>
		<dc:creator>jaydson</dc:creator>
		<pubDate>Fri, 19 Nov 2010 03:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-67</guid>
		<description>Não entendi Juan, o que seria o checked na função anônima?
Mas a função pode ser melhorada com certeza.</description>
		<content:encoded><![CDATA[<p>Não entendi Juan, o que seria o checked na função anônima?<br />
Mas a função pode ser melhorada com certeza.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: bezerra</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-66</link>
		<dc:creator>bezerra</dc:creator>
		<pubDate>Wed, 12 May 2010 21:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-66</guid>
		<description>Não sei qual foi o intuito de passar uma rotina javascript puro + jquery.
Com jquery essa funcionalidade fica muito mais simples.</description>
		<content:encoded><![CDATA[<p>Não sei qual foi o intuito de passar uma rotina javascript puro + jquery.<br />
Com jquery essa funcionalidade fica muito mais simples.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: jaydson</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-65</link>
		<dc:creator>jaydson</dc:creator>
		<pubDate>Thu, 11 Feb 2010 00:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-65</guid>
		<description>Como assim Everton?
Queres o código completo?</description>
		<content:encoded><![CDATA[<p>Como assim Everton?<br />
Queres o código completo?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Everton</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-64</link>
		<dc:creator>Everton</dc:creator>
		<pubDate>Fri, 29 Jan 2010 11:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-64</guid>
		<description>Cade o Jquery ?</description>
		<content:encoded><![CDATA[<p>Cade o Jquery ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Juan</title>
		<link>/jquery-marcar-desmarcar-checkboxes/#comment-63</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 27 Aug 2009 11:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://jaydson.org/?p=239#comment-63</guid>
		<description>Que tal trocar toda rotina final por isso:
jQuery.each(ipts, function(){checked=check.checked} )</description>
		<content:encoded><![CDATA[<p>Que tal trocar toda rotina final por isso:<br />
jQuery.each(ipts, function(){checked=check.checked} )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Object Caching 522/523 objects using disk: basic

Served from: www.jaydson.org @ 2012-02-06 03:50:13 -->
