﻿<?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, Hidden Elements, and Why At Times I Hate It</title>
	<atom:link href="http://byatool.com/pontification/jquery-hidden-elements-and-why-at-times-i-hate-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://byatool.com/pontification/jquery-hidden-elements-and-why-at-times-i-hate-it/</link>
	<description>If I had a nickle for everytime I needed a nickle...</description>
	<lastBuildDate>Wed, 08 Sep 2010 15:34:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Sean</title>
		<link>http://byatool.com/pontification/jquery-hidden-elements-and-why-at-times-i-hate-it/comment-page-1/#comment-8584</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 29 May 2010 14:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://byatool.com/?p=914#comment-8584</guid>
		<description>Appreciate the time you took to add on to this.  Most likely you&#039;re one of two people that actually come here but we can pretend that millions will read this.</description>
		<content:encoded><![CDATA[<p>Appreciate the time you took to add on to this.  Most likely you&#8217;re one of two people that actually come here but we can pretend that millions will read this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zac Imboden</title>
		<link>http://byatool.com/pontification/jquery-hidden-elements-and-why-at-times-i-hate-it/comment-page-1/#comment-8573</link>
		<dc:creator>Zac Imboden</dc:creator>
		<pubDate>Fri, 28 May 2010 22:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://byatool.com/?p=914#comment-8573</guid>
		<description>Thank you for taking the time to post the jquery sliding rug on form elements problem.
In my situation I found that I would use the .attr method to check for a form type, such as checkbox, and this worked regardless of whether the form was hidden:

if($(this).attr(&#039;type&#039;)==&quot;hidden&quot;) -finds a true hidden field inside a .each loop
$(this).attr(&#039;type&#039;)==&quot;checkbox&quot; &amp;&amp; $(this).is(&quot;:input:checked&quot;) - finds a checked checkbox
$(this).is(&quot;textarea&quot;) - finds a textarea, and if you are using CKEditor to take over textarea elements, and specifically you are using the CKEditor JQuery plugin (  ) you have to get the value of the element by using:
value = $(&#039;#textareaname&#039;).val();

What I found extends what you are stating, and it might be helpful to someone.</description>
		<content:encoded><![CDATA[<p>Thank you for taking the time to post the jquery sliding rug on form elements problem.<br />
In my situation I found that I would use the .attr method to check for a form type, such as checkbox, and this worked regardless of whether the form was hidden:</p>
<p>if($(this).attr(&#8216;type&#8217;)==&#8221;hidden&#8221;) -finds a true hidden field inside a .each loop<br />
$(this).attr(&#8216;type&#8217;)==&#8221;checkbox&#8221; &amp;&amp; $(this).is(&#8220;:input:checked&#8221;) &#8211; finds a checked checkbox<br />
$(this).is(&#8220;textarea&#8221;) &#8211; finds a textarea, and if you are using CKEditor to take over textarea elements, and specifically you are using the CKEditor JQuery plugin (  ) you have to get the value of the element by using:<br />
value = $(&#8216;#textareaname&#8217;).val();</p>
<p>What I found extends what you are stating, and it might be helpful to someone.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
