assign Values from DB to Time Picker with php

Topic: assign Values from DB to Time Picker with php

gerdhuber pro premium asked 3 years ago

Expected behavior Hallo,

i am reading time-values from my Mysql-Table and want to assign them to the time picker to show them there. Can you pleas help me, how i have to do this ?

Thank you


Actual behavior

Resources (screenshots, code snippets etc.)

gerdhuber pro premium commented 3 years ago

Is there a attribute like in DatePiker data-value="[2015,6,1]" ?

Adam Jakubowski staff answered 3 years ago


Did you tried to use the attribute .val() ? Try to add maybe this $('#input_starttime').val("10:45"); into to your code.



Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.8
  • Device: CP
  • Browser: firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No