Got undefined error using jQuery date picker in a gridview

Hi, I'm using VS2012.
The jquery script is working in IE and Chrome but in Firefox the calendar won't pop up.  In IE and Chrome after click on Edit and then click that last cell that is date/time (display format to diaply only short date part), the calendar pop up fine.  Selects a day and then the cell would display the new date with "NAN" displayed under it.  Click on it again to bring up the calendar, select a date again, and now it dispaly "NANunderdined".
Attached is the jQuery.  Thank you
lapuccaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GaryConnect With a Mentor Commented:
This was literally just adding in the time to the timepart var

http://jsfiddle.net/2zvwsgx3/13/
0
 
Miguel OzSoftware EngineerCommented:
Please post the jquery code as well as the gridview mark-up.
0
 
lapuccaAuthor Commented:
Please see here, http://jsfiddle.net/2zvwsgx3/12/ 
Thank you
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
GaryCommented:
Code is working fine, the datepicker is just that - a datepicker - it doesn't have a time

So for timepart just add in the default string for the time.
0
 
lapuccaAuthor Commented:
Gary, do you mind show me how to add in the default string in jQuery?  What is the default string?  If you're saying the default time, it's 12:00:00 am.  Thank you.
0
 
lapuccaAuthor Commented:
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.