<?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 for Random Snippets</title>
	<atom:link href="http://www.randomsnippets.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randomsnippets.com</link>
	<description>Random Snippets of Code for Web Developers</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:30:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>Comment on JavaScript Date Ranges/Calculations with Datejs by Luke</title>
		<link>http://www.randomsnippets.com/2011/07/30/javascript-date-ranges-calculations-with-datejs/comment-page-1/#comment-78232</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Thu, 19 Jan 2012 11:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=424#comment-78232</guid>
		<description>Nice - really helpful. Cheers!</description>
		<content:encoded><![CDATA[<p>Nice &#8211; really helpful. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Allen Liu</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-67461</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Fri, 23 Dec 2011 01:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-67461</guid>
		<description>I&#039;m glad you were able to resolve it =) Have a Happy Holiday!

Allen</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you were able to resolve it =) Have a Happy Holiday!</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Matt</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-67422</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 22 Dec 2011 22:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-67422</guid>
		<description>Nevermind. Fixed it! Forgot to give my div&#039;s a name LOL Thanks!</description>
		<content:encoded><![CDATA[<p>Nevermind. Fixed it! Forgot to give my div&#8217;s a name LOL Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Matt</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-67409</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 22 Dec 2011 22:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-67409</guid>
		<description>I commented that out in one of my CSS files... but still doesnt work.</description>
		<content:encoded><![CDATA[<p>I commented that out in one of my CSS files&#8230; but still doesnt work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Matt</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-67408</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 22 Dec 2011 22:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-67408</guid>
		<description>That must mean that the &quot;left.png&quot; image is used in one of my scripts somewhere? Wierd... I have no idea where that is lol.</description>
		<content:encoded><![CDATA[<p>That must mean that the &#8220;left.png&#8221; image is used in one of my scripts somewhere? Wierd&#8230; I have no idea where that is lol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Allen Liu</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-67396</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Thu, 22 Dec 2011 21:31:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-67396</guid>
		<description>Hi Matt,

I see the following error on load of your site:

&quot;NetworkError: 404 Not Found - http://matthewdance.com/style_images/left.png&quot;

I think this is causing the rest of the JavaScript code to not load so that is the &lt;code&gt;showonlyone()&lt;/code&gt; is coming up as &quot;not defined.&quot;

Allen</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I see the following error on load of your site:</p>
<p>&#8220;NetworkError: 404 Not Found &#8211; <a href="http://matthewdance.com/style_images/left.png" rel="nofollow">http://matthewdance.com/style_images/left.png</a>&#8221;</p>
<p>I think this is causing the rest of the JavaScript code to not load so that is the <code>showonlyone()</code> is coming up as &#8220;not defined.&#8221;</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Matt</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-67393</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 22 Dec 2011 21:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-67393</guid>
		<description>Hi again Allen. I think I did it right, but nothing is happening... 

Basically, I have several images that when clicked, should display the appropriate articles that match the image clicked... but nothing is happening. I think my code is right... but is my placement of the code wrong? Sorry, I am kind of a newb to this here. Can you take a look at my website? matthewdance.com/medonetoone.php

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi again Allen. I think I did it right, but nothing is happening&#8230; </p>
<p>Basically, I have several images that when clicked, should display the appropriate articles that match the image clicked&#8230; but nothing is happening. I think my code is right&#8230; but is my placement of the code wrong? Sorry, I am kind of a newb to this here. Can you take a look at my website? matthewdance.com/medonetoone.php</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by axl163</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-66583</link>
		<dc:creator>axl163</dc:creator>
		<pubDate>Tue, 20 Dec 2011 22:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-66583</guid>
		<description>Hi Matt,

&lt;code&gt;thechosenone&lt;/code&gt; refers to Neo from &quot;The Matrix&quot;  =)

On a more serious note, it is the &lt;code&gt;id&lt;/code&gt; of the &lt;code&gt;div&lt;/code&gt; that you are interested in keeping displayed.

I hope that helps.

Allen</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p><code>thechosenone</code> refers to Neo from &#8220;The Matrix&#8221;  =)</p>
<p>On a more serious note, it is the <code>id</code> of the <code>div</code> that you are interested in keeping displayed.</p>
<p>I hope that helps.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Matt</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-66556</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Tue, 20 Dec 2011 20:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-66556</guid>
		<description>Thanks for the tut allen. But, what is &quot;thechosenone&quot; that you are passing? what is it supposed to hold? is it a variable with the name or id you are clicking on?</description>
		<content:encoded><![CDATA[<p>Thanks for the tut allen. But, what is &#8220;thechosenone&#8221; that you are passing? what is it supposed to hold? is it a variable with the name or id you are clicking on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by Jaggs</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65893</link>
		<dc:creator>Jaggs</dc:creator>
		<pubDate>Mon, 19 Dec 2011 09:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65893</guid>
		<description>HTML Code :

&lt;a&gt;




JavaScript :
function toggle5(showHideDiv, switchImgTag) {
       var ele = document.getElementById(showHideDiv);
       var imageEle = document.getElementById(switchImgTag);
if(ele.style.display == “block”) {
ele.style.display = “none”;
     imageEle.innerHTML = “” +       ctrl.getAttribute(“entity”);
}
else {
ele.style.display = “block”;
imageEle.innerHTML = “” + ctrl.getAttribute(“entity”);
}
}</description>
		<content:encoded><![CDATA[<p>HTML Code :</p>
<p><a></p>
<p>JavaScript :<br />
function toggle5(showHideDiv, switchImgTag) {<br />
       var ele = document.getElementById(showHideDiv);<br />
       var imageEle = document.getElementById(switchImgTag);<br />
if(ele.style.display == “block”) {<br />
ele.style.display = “none”;<br />
     imageEle.innerHTML = “” +       ctrl.getAttribute(“entity”);<br />
}<br />
else {<br />
ele.style.display = “block”;<br />
imageEle.innerHTML = “” + ctrl.getAttribute(“entity”);<br />
}<br />
}</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by Jaggs</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65825</link>
		<dc:creator>Jaggs</dc:creator>
		<pubDate>Mon, 19 Dec 2011 06:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65825</guid>
		<description>Hi Allen,

Thanks a lot for the javascript examples above.It helped me a lot.But one question i have been trying the same example using the Plus and minus images in different browsers.But the image doesn&#039;t seem to be toggling.i have placed the code below  

HTML Code :
&lt;div id=&quot;&quot;&gt;
    &lt;a id=&quot;imageDivLink&quot; entity=&quot;&quot; href=&quot;javascript:toggle5(&#039;&#039;, &#039;imageDivLink&#039;);&quot;&gt;&lt;img src=&#039;/images/plus.gif&#039;/&gt;&lt;/a&gt;
    


JavaScript :
function toggle5(showHideDiv, switchImgTag) {
        var ele = document.getElementById(showHideDiv);
        var imageEle = document.getElementById(switchImgTag);
        if(ele.style.display == &quot;block&quot;) {
                ele.style.display = &quot;none&quot;;
		imageEle.innerHTML = &quot;&lt;img src=&#039;/images/plus.gif&#039;&gt;&quot; + ctrl.getAttribute(&quot;entity&quot;);
		
        }
        else {
                ele.style.display = &quot;block&quot;;
                imageEle.innerHTML = &quot;&lt;img src=&#039;/images/minus.gif&#039;&gt;&quot; + ctrl.getAttribute(&quot;entity&quot;);
                
        }
}</description>
		<content:encoded><![CDATA[<p>Hi Allen,</p>
<p>Thanks a lot for the javascript examples above.It helped me a lot.But one question i have been trying the same example using the Plus and minus images in different browsers.But the image doesn&#8217;t seem to be toggling.i have placed the code below  </p>
<p>HTML Code :<br />
&lt;div id=&quot;&#8221;&gt;<br />
    &lt;a id=&quot;imageDivLink&quot; entity=&quot;&#8221; href=&#8221;javascript:toggle5(&#8221;, &#8216;imageDivLink&#8217;);&#8221;&gt;&lt;img src=&#039;/images/plus.gif&#8217;/&gt;</p>
<p>JavaScript :<br />
function toggle5(showHideDiv, switchImgTag) {<br />
        var ele = document.getElementById(showHideDiv);<br />
        var imageEle = document.getElementById(switchImgTag);<br />
        if(ele.style.display == &#8220;block&#8221;) {<br />
                ele.style.display = &#8220;none&#8221;;<br />
		imageEle.innerHTML = &#8220;&lt;img src=&#039;/images/plus.gif&#8217;&gt;&#8221; + ctrl.getAttribute(&#8220;entity&#8221;);</p>
<p>        }<br />
        else {<br />
                ele.style.display = &#8220;block&#8221;;<br />
                imageEle.innerHTML = &#8220;&lt;img src=&#039;/images/minus.gif&#8217;&gt;&#8221; + ctrl.getAttribute(&#8220;entity&#8221;);</p>
<p>        }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by Bo</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65593</link>
		<dc:creator>Bo</dc:creator>
		<pubDate>Sun, 18 Dec 2011 18:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65593</guid>
		<description>Hello Allen I am having trouble getting multiple of your tutorial working.. when I have 2 or more triggers, and I click on any of them the 1st one triggers.  The only thing is that I am going to be having a dynamic site and I want it to just know that I am clicking on a specific button and have that one show.  If you could help me I would appreciate it so much!</description>
		<content:encoded><![CDATA[<p>Hello Allen I am having trouble getting multiple of your tutorial working.. when I have 2 or more triggers, and I click on any of them the 1st one triggers.  The only thing is that I am going to be having a dynamic site and I want it to just know that I am clicking on a specific button and have that one show.  If you could help me I would appreciate it so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by MrThomas</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65292</link>
		<dc:creator>MrThomas</dc:creator>
		<pubDate>Sun, 18 Dec 2011 00:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65292</guid>
		<description>Btw, i was talking about the last example on this page, so it would be the .getElementByTagName()</description>
		<content:encoded><![CDATA[<p>Btw, i was talking about the last example on this page, so it would be the .getElementByTagName()</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by MrThomas</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65291</link>
		<dc:creator>MrThomas</dc:creator>
		<pubDate>Sat, 17 Dec 2011 23:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65291</guid>
		<description>Yes! Thanks I actually came to that conclusion last night doing a little &quot;fiddling.&quot;

So if I am thinking this out correctly. The for loop will continuously run when you click on one of the toggles until all of the divs get met with one of the &quot;if&quot;, or &quot;else&quot; statements. And that would be 6 divs each time.

Does that make sense or do I need to rethink this? 

Btw, I have to thank you for being such a great help!</description>
		<content:encoded><![CDATA[<p>Yes! Thanks I actually came to that conclusion last night doing a little &#8220;fiddling.&#8221;</p>
<p>So if I am thinking this out correctly. The for loop will continuously run when you click on one of the toggles until all of the divs get met with one of the &#8220;if&#8221;, or &#8220;else&#8221; statements. And that would be 6 divs each time.</p>
<p>Does that make sense or do I need to rethink this? </p>
<p>Btw, I have to thank you for being such a great help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to dynamically add form elements via JavaScript by Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/comment-page-2/#comment-65254</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sat, 17 Dec 2011 21:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/#comment-65254</guid>
		<description>You&#039;re welcome =)  I&#039;m glad it helped out.

Allen</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome =)  I&#8217;m glad it helped out.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to dynamically add form elements via JavaScript by Lokki</title>
		<link>http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/comment-page-2/#comment-65248</link>
		<dc:creator>Lokki</dc:creator>
		<pubDate>Sat, 17 Dec 2011 21:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/#comment-65248</guid>
		<description>Thank you Allen for this perfect tutorial.</description>
		<content:encoded><![CDATA[<p>Thank you Allen for this perfect tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by axl163</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65042</link>
		<dc:creator>axl163</dc:creator>
		<pubDate>Sat, 17 Dec 2011 07:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65042</guid>
		<description>Hi MrThomas,

&lt;code&gt;newboxes&lt;/code&gt; is the set elements in an array that is returned by the &lt;code&gt;.getElementsByClassName()&lt;/code&gt; function.  The &lt;code&gt;.length&lt;/code&gt; property will return the number of elements of an array so &lt;code&gt;newboxes.length&lt;/code&gt; is simply the number of elements that is matched by class name.

I hope that answers your question.

Allen</description>
		<content:encoded><![CDATA[<p>Hi MrThomas,</p>
<p><code>newboxes</code> is the set elements in an array that is returned by the <code>.getElementsByClassName()</code> function.  The <code>.length</code> property will return the number of elements of an array so <code>newboxes.length</code> is simply the number of elements that is matched by class name.</p>
<p>I hope that answers your question.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by MrThomas</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-65040</link>
		<dc:creator>MrThomas</dc:creator>
		<pubDate>Sat, 17 Dec 2011 07:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-65040</guid>
		<description>What exactly does newbox.length mean?

In detail would be much appreciated. 

Thanks!</description>
		<content:encoded><![CDATA[<p>What exactly does newbox.length mean?</p>
<p>In detail would be much appreciated. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by David</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-63975</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 14 Dec 2011 15:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-63975</guid>
		<description>Hello Allen:  nice one mate - the dynamic is right - all I need now is to get the functionality and page layout working.  What&#039;s shown here creates the buttons, etc, on the fly - whereas my page has the 15 pre-existing button divs (and their nicely working rollover picutures) and the main picture display div already in place.  Can I email you a jpeg of the customer designed page layout?  My problem (as I see it now) is getting the correct pieces of element code to work with what&#039;s already in existance rather than assemble the bare bones of the bits and pieces as the page first unfolds.

I am very grateful for your input here Allen - this is hepling me tremendously.

Thank you very much

David</description>
		<content:encoded><![CDATA[<p>Hello Allen:  nice one mate &#8211; the dynamic is right &#8211; all I need now is to get the functionality and page layout working.  What&#8217;s shown here creates the buttons, etc, on the fly &#8211; whereas my page has the 15 pre-existing button divs (and their nicely working rollover picutures) and the main picture display div already in place.  Can I email you a jpeg of the customer designed page layout?  My problem (as I see it now) is getting the correct pieces of element code to work with what&#8217;s already in existance rather than assemble the bare bones of the bits and pieces as the page first unfolds.</p>
<p>I am very grateful for your input here Allen &#8211; this is hepling me tremendously.</p>
<p>Thank you very much</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Anonymous</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-63921</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 14 Dec 2011 12:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-63921</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Allen Liu</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-63340</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Tue, 13 Dec 2011 01:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-63340</guid>
		<description>Hi David,

Perhaps this is more of what you are looking for?

http://jsfiddle.net/s2mAA/5/

Allen</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Perhaps this is more of what you are looking for?</p>
<p><a href="http://jsfiddle.net/s2mAA/5/" rel="nofollow">http://jsfiddle.net/s2mAA/5/</a></p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to dynamically add form elements via JavaScript by Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/comment-page-2/#comment-63333</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Tue, 13 Dec 2011 01:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/#comment-63333</guid>
		<description>Sorry, I&#039;m very familiar with VBScript.  If you are working with ASP.NET, you should be able to use the JavaScript and HTML code as is.

Allen</description>
		<content:encoded><![CDATA[<p>Sorry, I&#8217;m very familiar with VBScript.  If you are working with ASP.NET, you should be able to use the JavaScript and HTML code as is.</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to dynamically add form elements via JavaScript by Lokki</title>
		<link>http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/comment-page-2/#comment-62862</link>
		<dc:creator>Lokki</dc:creator>
		<pubDate>Sun, 11 Dec 2011 17:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/21/how-to-dynamically-add-form-elements-via-javascript/#comment-62862</guid>
		<description>Hi, It&#039;s perfect sample and help.I want to thank you.
If its possible can you give example how to get textarea data with vbscript asp? &quot; + FPL + &quot;&quot;  Best regards.</description>
		<content:encoded><![CDATA[<p>Hi, It&#8217;s perfect sample and help.I want to thank you.<br />
If its possible can you give example how to get textarea data with vbscript asp? &#8221; + FPL + &#8220;&#8221;  Best regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by David</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-62799</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 11 Dec 2011 13:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-62799</guid>
		<description>Hello Allen: nice try mate, thanks for the thought and the contact - I really do appreciate it and what you have presented shows clearly how to make the toggle function work - but toggling (have already managed to make that work) is not what is needed here.  With the 15 buttons on the page and the 1 div, the dynamic needs to be... click button 1 and the pic in the div changes to another pic.  Click button 2 and the pic in the div changes yet again to a third pic.  Click button 3 and so on, etc., until all 15 pics (as the user chooses) have been shown.  It&#039;s a sort of mini gallerybut with absolutely no fancy scrolling stuff.  Just plain old point and click.  From what I&#039;ve been seeing about jQuery, absolute manipulative magic is the norm, but simple stuff seems to be very much beyond its reach.  Cheers mate, I&#039;m grateful for your input.  David</description>
		<content:encoded><![CDATA[<p>Hello Allen: nice try mate, thanks for the thought and the contact &#8211; I really do appreciate it and what you have presented shows clearly how to make the toggle function work &#8211; but toggling (have already managed to make that work) is not what is needed here.  With the 15 buttons on the page and the 1 div, the dynamic needs to be&#8230; click button 1 and the pic in the div changes to another pic.  Click button 2 and the pic in the div changes yet again to a third pic.  Click button 3 and so on, etc., until all 15 pics (as the user chooses) have been shown.  It&#8217;s a sort of mini gallerybut with absolutely no fancy scrolling stuff.  Just plain old point and click.  From what I&#8217;ve been seeing about jQuery, absolute manipulative magic is the norm, but simple stuff seems to be very much beyond its reach.  Cheers mate, I&#8217;m grateful for your input.  David</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to count values with MySQL queries by Cim</title>
		<link>http://www.randomsnippets.com/2008/10/05/how-to-count-values-with-mysql-queries/comment-page-1/#comment-62568</link>
		<dc:creator>Cim</dc:creator>
		<pubDate>Sat, 10 Dec 2011 22:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=116#comment-62568</guid>
		<description>Thanks for great post. Just would like to ask if its possible to to find the difference between yes votes and no votes for each candidate for example obama has 4 yes votes and 2 no votes. so i would like to get 4-2 is this possible in the query itself? Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks for great post. Just would like to ask if its possible to to find the difference between yes votes and no votes for each candidate for example obama has 4 yes votes and 2 no votes. so i would like to get 4-2 is this possible in the query itself? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by Allen Liu</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-62502</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Sat, 10 Dec 2011 18:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-62502</guid>
		<description>Hi David,

There is no need to do anything rash David.  I can help =)

Here is a demo you can check out:

http://jsfiddle.net/PLRvd/10/

I hope this helps!

Allen</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>There is no need to do anything rash David.  I can help =)</p>
<p>Here is a demo you can check out:</p>
<p><a href="http://jsfiddle.net/PLRvd/10/" rel="nofollow">http://jsfiddle.net/PLRvd/10/</a></p>
<p>I hope this helps!</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div with jQuery by David</title>
		<link>http://www.randomsnippets.com/2011/04/10/how-to-hide-show-or-toggle-your-div-with-jquery/comment-page-1/#comment-62454</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 10 Dec 2011 15:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/?p=336#comment-62454</guid>
		<description>Nooby to jQuery here – ready to put the hammer thru the monitor… I’m sure you’ve all been there.
The setup – 15 buttons (with good working button image change rollover) on page and 1 div with pic in it.
Need – any button click changes background pic in div.
The result – 4 days… throat cutting very close now.
Does anyone know how to make this stuff actually work?</description>
		<content:encoded><![CDATA[<p>Nooby to jQuery here – ready to put the hammer thru the monitor… I’m sure you’ve all been there.<br />
The setup – 15 buttons (with good working button image change rollover) on page and 1 div with pic in it.<br />
Need – any button click changes background pic in div.<br />
The result – 4 days… throat cutting very close now.<br />
Does anyone know how to make this stuff actually work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-61822</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Fri, 09 Dec 2011 00:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-61822</guid>
		<description>I found an error with your body load statement.  Many of your arguments are missing the left single quote:

&lt;pre&gt;
onLoad=&quot;MM_preloadImages(Images/Rollover_03.png&#039;,Images/Rollover_05.png&#039;...);
&lt;/pre&gt;

As you can see the &lt;code&gt;Images/Rollover_03.png&lt;/code&gt; is missing the left single.  This goes on for most of the arguments you have in that list

Allen</description>
		<content:encoded><![CDATA[<p>I found an error with your body load statement.  Many of your arguments are missing the left single quote:</p>
<pre>
onLoad="MM_preloadImages(Images/Rollover_03.png',Images/Rollover_05.png'...);
</pre>
<p>As you can see the <code>Images/Rollover_03.png</code> is missing the left single.  This goes on for most of the arguments you have in that list</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by Allen Liu</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-61818</link>
		<dc:creator>Allen Liu</dc:creator>
		<pubDate>Fri, 09 Dec 2011 00:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-61818</guid>
		<description>I tried it out and it appears to be working for me.  All 3 divs are showing after it is finished loading.  Then it just shows the selected one when you starting clicking on the icons.  Is that what you are trying to accomplish?

Allen</description>
		<content:encoded><![CDATA[<p>I tried it out and it appears to be working for me.  All 3 divs are showing after it is finished loading.  Then it just shows the selected one when you starting clicking on the icons.  Is that what you are trying to accomplish?</p>
<p>Allen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to hide, show, or toggle your div by Matt</title>
		<link>http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/comment-page-4/#comment-61814</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 09 Dec 2011 00:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/#comment-61814</guid>
		<description>Tried it and it isn&#039;t working.  If you can make this work I will buy you some coffee! Peets.com style~!

http://tinyurl.com/cw5jsks</description>
		<content:encoded><![CDATA[<p>Tried it and it isn&#8217;t working.  If you can make this work I will buy you some coffee! Peets.com style~!</p>
<p><a href="http://tinyurl.com/cw5jsks" rel="nofollow">http://tinyurl.com/cw5jsks</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

