![]() ![]()
There's a solution from bootstrap for this problem. This is the best solution I can offer at the moment, as I do not know of any way to convince the Bootstrap Datepicker to use two formats simultaneously. When a selection is made in that input field, the onchange() callback method is automatically called to get the value of the input field using the jQuery val() method.When I am faced with such a problem, where I want data displayed differently than I want it communicated, I usually write a short script to copy the value into a hidden element where I maintain the 'correctly'-formatted data which the user does not see. We add an event listener onchange for that input field. #BOOTSTRAP DATEPICKER SETDATE NOT UPDATING UI PRO#This component requires MDB Pro Essential package. Note: Read the API tab to find all available options and advanced customization. As soon as the user selects a date from the calendar, it is automatically written into the input field. DateTimepicker is a form that adds the function of selecting date and time without the necessity of using custom JavaScript code.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |