assign Values from DB to Time Picker with php


Topic: assign Values from DB to Time Picker with php

gerdhuber pro asked 5 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

Gerd

Actual behavior

Resources (screenshots, code snippets etc.)


gerdhuber pro commented 5 years ago

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


Adam Jakubowski staff pro premium priority answered 5 years ago

Hi,

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

Best,

Adam


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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