<?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; show / hide button for multiple div containers with AJAX and JSON</title>
	<atom:link href="http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json</link>
	<description>Yet Another Coding Blog</description>
	<lastBuildDate>Fri, 23 Sep 2011 08:55:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Alan</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-103</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 22 Jun 2010 07:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-103</guid>
		<description>Hi there,

 

Excellent post, very useful.

 

Is there a way to start off the page with the boxes being hidden by default?  And then shown only when user clicks on the title?</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Excellent post, very useful.</p>
<p>Is there a way to start off the page with the boxes being hidden by default?  And then shown only when user clicks on the title?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-102</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 22 Jun 2010 07:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-102</guid>
		<description>Hi,

I only need to show/hide multiple div layers. I do NOT need any content in it. (PHP) I am not a pro. Which code do I have to remove?

Thanks!
nick</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I only need to show/hide multiple div layers. I do NOT need any content in it. (PHP) I am not a pro. Which code do I have to remove?</p>
<p>Thanks!<br />
nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojtek</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-82</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Sun, 19 Apr 2009 09:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-82</guid>
		<description>@Pete (sorry for a late answer)

Implementing this kind of solution would require slight changes in this code. You can use a quick solution by putting all divs in a wrapper and execute .toggle() method on its id or class. This would show and hide all the elements inside of it. I hope this helps.</description>
		<content:encoded><![CDATA[<p>@Pete (sorry for a late answer)</p>
<p>Implementing this kind of solution would require slight changes in this code. You can use a quick solution by putting all divs in a wrapper and execute .toggle() method on its id or class. This would show and hide all the elements inside of it. I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-78</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Wed, 18 Mar 2009 14:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-78</guid>
		<description>How would I go about implementing a Show All and Hide All button?
I&#039;ve tried a few things but I can&#039;t seem to get it.

Still relatively new to jQuery, and finding the syntax a bit confusing..

Thanks for your help... tutorial is very helpful.</description>
		<content:encoded><![CDATA[<p>How would I go about implementing a Show All and Hide All button?<br />
I&#8217;ve tried a few things but I can&#8217;t seem to get it.</p>
<p>Still relatively new to jQuery, and finding the syntax a bit confusing..</p>
<p>Thanks for your help&#8230; tutorial is very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-38</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sun, 12 Oct 2008 18:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-38</guid>
		<description>Thanks, I&#039;ll give it a shot.</description>
		<content:encoded><![CDATA[<p>Thanks, I&#8217;ll give it a shot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojtek</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-37</link>
		<dc:creator>Wojtek</dc:creator>
		<pubDate>Sun, 12 Oct 2008 14:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-37</guid>
		<description>Hi,

In the $.getJSON line. You need to specify a file, which in this case is a PHP file. 

To assure consistency with other browsers than FF (IE) you can add a random parameter to the file to make it unique and avoid caching.

It will look more or less like that:

var rand = &#039;?random=&#039; + Math.random();
$.getJSON(&#039;json.php&#039; + rand, { id: id }, function(d) {
//other stuff
});</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>In the $.getJSON line. You need to specify a file, which in this case is a PHP file. </p>
<p>To assure consistency with other browsers than FF (IE) you can add a random parameter to the file to make it unique and avoid caching.</p>
<p>It will look more or less like that:</p>
<p>var rand = &#8216;?random=&#8217; + Math.random();<br />
$.getJSON(&#8216;json.php&#8217; + rand, { id: id }, function(d) {<br />
//other stuff<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.designing4u.de/2008/07/jquery-show-hide-button-for-multiple-div-containers-with-ajax-and-json/comment-page-1/#comment-36</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sun, 12 Oct 2008 13:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.designing4u.de/?p=26#comment-36</guid>
		<description>Hi, thanks for your response.  I think this is what I&#039;m looking for.  However, I have a stupid question.  Where do you retrieve the data that displays in the box?  Sorry for the silly question.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for your response.  I think this is what I&#8217;m looking for.  However, I have a stupid question.  Where do you retrieve the data that displays in the box?  Sorry for the silly question.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

