This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes dojo.string is undefined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "dojo.string is undefined" Watch "dojo.string is undefined" New topic

dojo.string is undefined

Mahesh Chandran

Joined: Mar 23, 2011
Posts: 20
I am reading the The Definitive Guide for DOJO. I get this error when I try to execute:

This does not work on Firebug or a separate code. The example provided in also gives the same error.

Can someone point out what I am doing wrong.

Thanks Mahesh.

Rob Crowther
Ranch Hand

Joined: Nov 06, 2012
Posts: 297

I'm not too familiar with Dojo, but from the 1.8 documentation, this is correct:

Here's a JSFiddle.

Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
I agree. Here's the link:
subject: dojo.string is undefined
It's not a secret anymore!