Community Page
- blog.garethj.com/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thanks manatlan - that looks like a really useful tool. Will save me some time next time I need to do it.
- you should look at : http://www.manatlan.com/page/py2deb which does the same thing ...
- no worries Gareth - thanks for all the help youre sharing with everyone x hope portfolio goes well! all the best x
- Ubuntu has had its own solutions to *some* of these problems for a while (gnome-app-install) so I assume they are hesitant to swap to something else. Richard seemed to think they were very...
- Thanks for the overview Gareth. I'm surprised your Ubuntu install didn't put package kit on straight away, it's been default in Fedora so long I guess I've taken it for granted now.
Jump to original thread »
I recently hit this snag when working with Dojo. Basically I wanted to set the checked status of a checkbox on a webpage programmatically. Simple you might think? Apparently not as easy as it should be.
Interaction with checkboxes has changed slightly in Dojo 1.1 (apparently) but myCheckbox.setValue(true) should be valid. When calling dojo.byId(’my-checkbox-id’).setValue(true), ... Continue reading »
Interaction with checkboxes has changed slightly in Dojo 1.1 (apparently) but myCheckbox.setValue(true) should be valid. When calling dojo.byId(’my-checkbox-id’).setValue(true), ... Continue reading »
10 months ago
10 months ago
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.
So here's the way to remember it:
* 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.
* 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.
Useful stuff to know when using digit widgets.
8 months ago
8 months ago
8 months ago
4 months ago