Topic: assign Values from DB to Time Picker with php
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.)
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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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
gerdhuber pro commented 5 years ago
Is there a attribute like in DatePiker data-value="[2015,6,1]" ?