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 Finding out the version of Dojo 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 "Finding out the version of Dojo" Watch "Finding out the version of Dojo" New topic
Author

Finding out the version of Dojo

Sandeep Swaminathan
Ranch Hand

Joined: Apr 23, 2008
Posts: 52
Howdy Ranchers!

I'm kinda new to Dojo toolkit. There are certain issues which I would like to get enlightened (I googled but I didn't get an appropriate & satisfying answers)

1. I have a dojo.js in my local (Perhaps the uncompressed dojo.js downloaded) in my already running application (Developed by another software developer). How to find out which version of dojo.js he has downloaded and is being used right now? (Its not commented. I checked)

2. a) While I'm trying to run my application in IE-8 (Opening a pop-up on click of a button), I get error which is pointing me to this line of code



b) Is it true that dojo 1.3 is the best & stable release for IE8.

Timely help will be really appreciated


Music is all around us. All you have to do is just LISTEN to it,
Sandeep Swaminathan
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
1) API/Documentation is a wonderful thing: http://api.dojotoolkit.org/jsdoc/1.3/dojo.version
2a) The error message was? Are you running it on http or the file system?
2b) Do not know I do not use Dojo

Eric
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'd be awfully surprised if 1.3 had better IE8 support than 1.4. I'd think the opposite.
Sandeep Swaminathan
Ranch Hand

Joined: Apr 23, 2008
Posts: 52
Hey Eric.. Thanks a lot for the API reminder.. I will go through that. And I'm running it on http only.

@David Oh.. I think you got me wrong! Rather I will reframe the statement to add some clarity to it

Is it true that dojo 1.3 or 1.4 is the best & stable release for IE8? Heard of any such similar (above-mentioned) IE8 issues with dojo 1.1?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I could easily see Dojo 1.1 having IE8 issues; its browser compatibility docs list only IE6 and IE7.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Finding out the version of Dojo
 
Similar Threads
Can I get attributes of a component to appear in the final html?
How to stop loading dojo files in Strut2
dojotoolkit i18n in struts 2
Correct specification of javascript library location
Problem regarding Struts and Dojo integration