my dog learned polymorphism
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 REST with Spring (video course) this week in the Spring 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="" type="text/javascript"
djConfig="parseOnLoad:true, isDebug:false">
<style type="text/css">
@import "";
@import "";
<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: 15385
No one really who answers questions around these parts uses Dojo, You may get a faster answer if you post in their forums

I agree. Here's the link:
subject: DOJO -calendar
It's not a secret anymore!