wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes DOJO -calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DOJO -calendar" Watch "DOJO -calendar" New topic

DOJO -calendar

yuga devi

Joined: Aug 07, 2008
Posts: 22

I am new to DOJO.

I am trying to get a Date Range from user by displaying calendar:

<script src="http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js" type="text/javascript"
djConfig="parseOnLoad:true, isDebug:false">
<style type="text/css">
@import "http://o.aolcdn.com/dojo/1.2.3/dijit/themes/tundra/tundra.css";
@import "http://o.aolcdn.com/dojo/1.2.3/dojo/resources/dojo.css";
<script type="text/JavaScript">
<body class="tundra">

Enter a date below:

<input dojoType="dijit.form.DateTextBox"
constraints="{datePattern:'MM/dd/yyyy', max: new Date()}"


This code displays date textbox and a calendar.

I would like to get only one calendar for two textboxes, Like: FromDate: "a textbox" To date : "a textbox". For both the textboxes it should display only one calendar.

Is this possible using dojo calendar.Please help


Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
No one really who answers questions around these parts uses Dojo, You may get a faster answer if you post in their forums http://www.dojotoolkit.org/forum

Consider Paul's rocket mass heater.
subject: DOJO -calendar
Similar Threads
access denied in firefox when loading the dojo components from https
calling pop-up JavaScript calendar from JSP page
DOJO - Support IE 6?
dojo 1.1.2 fails in firefox 3.0.5
DOJO Grid and JSON