If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

thank you for your attention, that code has been advised to me by someone, I don't see any error on the javascript console regarding to that. I may do change that and use your helpful advise, but for now my main concern is to make the datetime picker work.

Almost surely, the datepicker.js code *RELIES* upon those LIBRARIES (because that is what they are).

So if the libraries aren't there, the datepicker.js code falls flat on its face.

Mind you, I don't know this for a fact, since you don't bother to show us the code for datapicker.js, but it's a logical place to start from.

In the future, when you want help with code, you need to post *ALL* the relevant code. Here, you didn't even bother to post datepicker.js. In general, if there is a lot of code to be shown, the best way to do so is to give us the URL of some page we can go look at.

Oh...and repeat this MANTRA 100 times, at least:

eval( ) is evil; I will not use it.
eval( ) is evil; I will not use it.
eval( ) is evil; I will not use it.
...

You said "...that code has been advised to me by someone, ...". So that "someone" is a person who you should definitely *NOT* listen to in the future.

Last edited by Old Pedant; 01-23-2013 at 09:55 PM.

An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.

Users who have thanked Old Pedant for this post:

Okay, mea culpa on one point. You did, indeed, give us a link to where you got datepicker.js from.

But when I go look at that page http://www.htmldrive.net/edit_media/2010/201009/20100902/Date%20Time%20Picker/datepicker.htm and do a VIEW==>>SOURCE indeed I see all those libraries, just as you showed them.

So...you need them.

An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.

Users who have thanked Old Pedant for this post:

Many thanks on your advises, I have changed the lines the you said that are improper to use and also I have connected the libraries of date&time picker that I did before (I failed to post it previously)