This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "dojo.string is undefined" Watch "dojo.string is undefined" New topic
Author

dojo.string is undefined

Mahesh Chandran
Greenhorn

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 http://dojotoolkit.org/reference-guide/1.6/dojo/string.html also gives the same error.

Can someone point out what I am doing wrong.

Thanks Mahesh.


Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

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