File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes I cant make the datetime picker run on my project 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 "I cant make the datetime picker run on my project" Watch "I cant make the datetime picker run on my project" New topic
Author

I cant make the datetime picker run on my project

dela cruz juan
Greenhorn

Joined: Nov 21, 2012
Posts: 13
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Nov 21, 2012
Posts: 13
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
dela cruz juan
Greenhorn

Joined: Nov 21, 2012
Posts: 13
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
 
Consider Paul's rocket mass heater.
 
subject: I cant make the datetime picker run on my project
 
Similar Threads
not redirecting to servlet page
Kiddie problem on my form
help with validation/ 2 functions on submit.
My (enabled) button works but if I test to renew my selection it won't get back to being disabled
form does not validate in my selection box