<?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: jQuery &#8211; watch a checkbox field</title>
	<atom:link href="http://www.flipflops.org/2008/02/28/jquery-watch-a-checkbox-field/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flipflops.org/2008/02/28/jquery-watch-a-checkbox-field/</link>
	<description>Flipflops.org is about web development and fairly conceptual art</description>
	<lastBuildDate>Sun, 06 Jun 2010 17:44:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Flipflops</title>
		<link>http://www.flipflops.org/2008/02/28/jquery-watch-a-checkbox-field/comment-page-1/#comment-9276</link>
		<dc:creator>Flipflops</dc:creator>
		<pubDate>Mon, 31 Mar 2008 20:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2008/02/28/jquery-watch-a-checkbox-field/#comment-9276</guid>
		<description>Hi Naju

Glad you like it - I hope it proves useful. 

If you mean that you have to separate checkboxes each of which can control the the visibility of a div, then you would just need to to call the testCheckbox() function twice e.g.
    
$(document).ready(function(){
    testCheckbox(&#039;cb1&#039;, &#039;divToShow&#039;);
    testCheckbox(&#039;cb2&#039;, &#039;divToShow&#039;);
});

Of course - this means that you would probably want to tie the various checkboxes together so that if you tick one they other are ticked too - not too hard, but you would have to customize the function a bit to do so.</description>
		<content:encoded><![CDATA[<p>Hi Naju</p>
<p>Glad you like it &#8211; I hope it proves useful. </p>
<p>If you mean that you have to separate checkboxes each of which can control the the visibility of a div, then you would just need to to call the testCheckbox() function twice e.g.</p>
<p>$(document).ready(function(){<br />
    testCheckbox(&#8216;cb1&#8242;, &#8216;divToShow&#8217;);<br />
    testCheckbox(&#8216;cb2&#8242;, &#8216;divToShow&#8217;);<br />
});</p>
<p>Of course &#8211; this means that you would probably want to tie the various checkboxes together so that if you tick one they other are ticked too &#8211; not too hard, but you would have to customize the function a bit to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Njau Ndirangu</title>
		<link>http://www.flipflops.org/2008/02/28/jquery-watch-a-checkbox-field/comment-page-1/#comment-9274</link>
		<dc:creator>Njau Ndirangu</dc:creator>
		<pubDate>Sun, 30 Mar 2008 03:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.flipflops.org/2008/02/28/jquery-watch-a-checkbox-field/#comment-9274</guid>
		<description>Nice...just one question what if you have multiple checkbox that show one specific div. How do you handle it then?</description>
		<content:encoded><![CDATA[<p>Nice&#8230;just one question what if you have multiple checkbox that show one specific div. How do you handle it then?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
