File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I cant make the datetime picker run on my project

 
dela cruz juan
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Java script Gurus.

I've been trying to figure out how to run the date_time picker java script but seems like it doesen't like me :-)

date and time picker should run when you select MATH and click Date taken text box

here is my problematic web


here is the date_time picker sample that worked


you may also download the datetimepicker.js here: http://www.htmldrive.net/items/show/511/Date-Time-Picker.html

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO NO NO NO NO



NEVER USE EVAL TO DO THIS, remove eval from your memory.

Look at what you did here



The follow is the same thing as what you did a few lines later!




Another thing



Finally where is the element <input class="datetimepicker"/> in the first code block that does not work?
 
dela cruz juan
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:NO NO NO NO NO



NEVER USE EVAL TO DO THIS, remove eval from your memory.

Look at what you did here



The follow is the same thing as what you did a few lines later!




Another thing



Finally where is the element <input class="datetimepicker"/> in the first code block that does not work?


Hi Eric,
Thank you for your attention, I admit I'm kinda newbie on java. Can you help me out on this on how can I recode the script and possibly to meet my needs on the datetime picker?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
dela cruz juan
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:


Hi Eric
I just failed to post here my code that has the attachment of the datetime picker libraries and also changed the wrong lines that you've mentioned.




I fully understand what you are pointing in me on the comic strip, Sorry I am only a student and new on this, it is my 1st school project :-)

Thanks anyway
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic