File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 268

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
subject: dojo.string is undefined
Similar Threads
DOJO1.2.3/ IE7 /addOnLoad()
Correct specification of javascript library location
How to set values in s:textfiled tag in struts2 to update
HTTPS - page contains both secure and nonsecure - DOJO 0.4 and IE 6
Dojo is undefined - Struts 2