This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't reset DOJO DateTextBox
 
Similar Threads
Time format in Java
Add days to date() calculations
isValidDateTime
Set holding two dates
date comparison using javascript