<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Gareth Jones - Latest Comments in Dojo checkboxes</title><link>http://garethj.disqus.com/</link><description></description><language>en</language><lastBuildDate>Sat, 07 Mar 2009 04:02:14 -0000</lastBuildDate><item><title>Re: Dojo checkboxes</title><link>http://blog.garethj.com/2008/07/03/dojo-checkboxes/#comment-6974503</link><description>I also ran into a similar issue just now. As I've found out, using dijit.byId is for when you're using dojo widgets. As I wasn't, I had to work on the DOM level, so I used dojo.byId("controlid").checked to see if it was checked.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roman</dc:creator><pubDate>Sat, 07 Mar 2009 04:02:14 -0000</pubDate></item><item><title>Re: Dojo checkboxes</title><link>http://blog.garethj.com/2008/07/03/dojo-checkboxes/#comment-3456710</link><description>No problem Ryan - thanks for posting anyway :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">garethj</dc:creator><pubDate>Mon, 03 Nov 2008 11:21:32 -0000</pubDate></item><item><title>Re: Dojo checkboxes</title><link>http://blog.garethj.com/2008/07/03/dojo-checkboxes/#comment-3231934</link><description>Opps, didn't notice the other reply. Sorry.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Littlefield</dc:creator><pubDate>Wed, 22 Oct 2008 12:19:12 -0000</pubDate></item><item><title>Re: Dojo checkboxes</title><link>http://blog.garethj.com/2008/07/03/dojo-checkboxes/#comment-3231923</link><description>Have you tried using dijit.byId instead of dojo.byId?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ryan Littlefield</dc:creator><pubDate>Wed, 22 Oct 2008 12:18:38 -0000</pubDate></item><item><title>Re: Dojo checkboxes</title><link>http://blog.garethj.com/2008/07/03/dojo-checkboxes/#comment-1875345</link><description>Ah, thanks very much. For anyone interested, I've discovered the reason for this (copied from &lt;a href="http://tinyurl.com/58oqey" rel="nofollow"&gt;http://tinyurl.com/58oqey&lt;/a&gt; ):&lt;br&gt;&lt;br&gt;Here's the difference: dijit.byId() returns a Dijit widget instance - technically, an instance of dijit._Widget or one of its subclasses like dijit.Toolbar or dijit.TreeNode.&lt;br&gt;&lt;br&gt;So here's the way to remember it:&lt;br&gt;&lt;br&gt;    * If you need a DOM Node, use dojo.byId. You need a DOM node anytime you call a standard browser function, change a standard property, etc.&lt;br&gt;    * If you need a widget, use dijit.byId. From it you can access all of the attributes, methods and extension points listed in Part 2.&lt;br&gt;&lt;br&gt;Useful stuff to know when using digit widgets.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">garethj</dc:creator><pubDate>Wed, 27 Aug 2008 13:55:08 -0000</pubDate></item><item><title>Re: Dojo checkboxes</title><link>http://blog.garethj.com/2008/07/03/dojo-checkboxes/#comment-1870270</link><description>You need to use dijit.byId instead of dojo.byId.  Then you're in business without setting a jsId for every widget.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gordonk66</dc:creator><pubDate>Wed, 27 Aug 2008 12:33:34 -0000</pubDate></item></channel></rss>