<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ajax Plus - Tips and tutorial for Ajax &#187; Checkbox value</title>
	<atom:link href="http://www.ajaxplus.net/tag/checkbox-value/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxplus.net</link>
	<description>All you need to know about Ajax</description>
	<lastBuildDate>Wed, 03 Feb 2010 12:17:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Small tip to get the status of checkbox</title>
		<link>http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/</link>
		<comments>http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:32:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Checkbox value]]></category>

		<guid isPermaLink="false">http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/</guid>
		<description><![CDATA[  Hi all,
It  took me long time to get it&#8230; I wanted to check if a checkbox was checked or not.
So I used:
var checkbox = document.getElementById(&#38;quot;checkbox_id&#38;quot;).value;
Wrong! Wrong! Wrong!
the right way is:
var checkbox = document.getElementById(&#38;quot;checkbox_id&#38;quot;).checked;
which return true or false. Minor details wasted me lots of time&#8230;
Admin 
 ]]></description>
			<content:encoded><![CDATA[<p> Hi all,</p>
<p>It  took me long time to get it&#8230; I wanted to check if a checkbox was checked or not.<br />
So I used:<br />
var checkbox = document.getElementById(&amp;quot;checkbox_id&amp;quot;).value;</p>
<p><strong>Wrong! Wrong! Wrong!</strong></p>
<p>the right way is:</p>
<p>var checkbox = document.getElementById(&amp;quot;checkbox_id&amp;quot;).checked;</p>
<p>which return true or false. Minor details wasted me lots of time&#8230;</p>
<p>Admin </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ajaxplus.net/2008/12/20/small-tip-to-get-the-status-of-checkbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
