Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript enable/disable date picker

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #245381
    siazik
    Participant

    HI

    Can anyone tell me what would be a quick and easy way to to enable and disable a date picker, ???
    i saw this one..

    <input disabled=”” class=”date-pick hasDatepicker” style=”width: 75px” type=”text” name=”reportDateFilter” value=”09/09/2016″>

    Thanks

    #245666
    Mottie
    Member

    Hi @siazik!

    We would be able to help you better if you shared which date picker you are using and a little bit of the code you are using. How is the date picker being disabled? Does the user do it, or are you doing it programmatically?

    Most date pickers provide a method in their API to enable/disable the plugin. Please search the documentation.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.