NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ
for more details.
I've been using the jQuery UI Date Picker
for a project of mine and decided to combine it with a some Bootstrap form controls
, specifically the input field that has a group add-on showing an icon from Font Awesome
appended to the control.
The result is a nice looking date input field...
Compared to the Date Picker
example, my version is lightyears ahead. This is what the example icon trigger looks like...
Not very pretty!
So here's the code for my version...
With this you can either click on the input field to pop up the date picker input or you can click on the icon to get the same result.
A quick disclaimer...
Although I put in a great effort into researching all the topics I cover, mistakes can happen.
If you spot something out of place, please do let me know.
All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle).
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...