Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't reset DOJO DateTextBox

 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic