Jquery UI datetime picker

Jquery UI datetime picker

INTONEINTONE Posts: 153Questions: 58Answers: 6

I am seeing that there is a wide array of use case examples here https://editor.datatables.net/examples/dates/index.html for the default date/date time picker compared to Jquery UI examples. I ask because the Jquery UI from other posts here seem to be the browser agnostic fix for issues with IE and Firefox. So I guess my question is, is there a way to get the date time picker working with jquery UI? Otherwise is there a way to get the standard date time picker to work with IE and Firefox?

This question has an accepted answers - jump to answer

Answers

  • INTONEINTONE Posts: 153Questions: 58Answers: 6
    edited August 2017

    I am sorry. Assumed because my date picker has never worked on Firefox that it does not work at all on Firefox. I decided to open https://editor.datatables.net/examples/dates/index.html in Firefox and it worked. I have not tried in IE as yet. It, therefore, begs to ask the question what am I doing wrong? I cut and paste the following code:

    {
                        label:'Date of Birth',
                        name:'applicationForm.dateOfBirth',
                        type:'date',
                        def: function () { return new Date(); },
                        format: 'D/MMM/YYYY',
    
     },
    

    I think it may have something to other libraries I am using.

  • INTONEINTONE Posts: 153Questions: 58Answers: 6
    edited August 2017 Answer ✓

    I realized i was doing something wrong. This is none issue.

    type:  'datetime',
    def:   function () { return new Date(); 
    

    is the fix.

This discussion has been closed.