This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Can't reset DOJO DateTextBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Can Watch "Can New topic
Author

Can't reset DOJO DateTextBox

Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

Am I missing something in the code? I create a DateTextBox like this:



It is inside a form. I then create the javascript function like this:



When I call that function, I get a message saying "Object doesn't support this property or method".

I'm using DOJO release 1.3.0.

Any help will be appreciated. The fabulous DOJO documentation says a DateTextBox has a reset function. ARGH!!


Mike Firkser
Rutgers '84
Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

Found the problem, in the function, should call the field by dijit not by dojo:



That's all until my next DOJO problem. Oh well.
 
 
subject: Can't reset DOJO DateTextBox