wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Learning Dojo: DOM selection and manipulation. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Learning Dojo: DOM selection and manipulation." Watch "Learning Dojo: DOM selection and manipulation." New topic
Author

Learning Dojo: DOM selection and manipulation.

Paul Yule
Ranch Hand

Joined: May 12, 2008
Posts: 229
I have recently been experimenting with JQuery and one thing I have to say I'm impressed with is the ability to simply and concisely select certain DOM elements through a series of chaining methods and filters. Then, changing the HTML markup is as simple as appending / prepending more DOM elements. If you are familiar with JQuery at all is Dojo similar in structure to how it handles DOM element selection/manipulation? Would you recommend your book as a primary resource for this basic task?
Peter Svensson
Author
Ranch Hand

Joined: Sep 29, 2008
Posts: 54
Hi Paul,

Yes, Dojo has a similar query engine called dojo.query, which works in a similar vein. I don't cover it in my book, because I don't work in that way,using custom widgets with their own templates.

here's a good reference (with comparison to jQuery and others);

http://dojotoolkit.org/node/336

Cheers,
PS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Learning Dojo: DOM selection and manipulation.