jquery keeping date picker open all the time
Solution 1
According to the documentation, you can call it on a div instead of an input and it will stay open and be inline. http://jqueryui.com/demos/datepicker/#inline
You could use it's onSelect event to handle when a date is selected.
Solution 2
If you are using the jQuery UI datepicker, use this:
http://jqueryui.com/demos/datepicker/#inline
You can then handle the click event and add the selected date to the text field.
Related videos on Youtube
josephj1989
I am a software enthusiast mainly into .NET , C# , ASP.NET , Jquery, Oracle , SQL Server , Java and Oracle Ebusiness Suite. I have many years of experience in the industry and really enjoy solving problems.
Updated on June 04, 2022Comments
-
josephj1989 almost 2 years
Normal behavior of datepicker is to open when a texbox is clicked and close when a date is selected(clicked). What I need to do is Keep it open from form load and allow user to click repeatedly.I am handling the click event
thanks