Last post Jun 29, 2017 06:44 AM by AngelinaJolie
Jun 28, 2017 05:52 PM|joegreen2005|LINK
In my MVC application, I have form field called birthday. When viewed on desktop and laptop, I can see the jQuery Datepicker. But when I view the page on cell phone, I don't get the datepicker. What can I do so that I can get datepicker whether I'm viewing
the page on desktop or cell phone?
Jun 28, 2017 06:45 PM|Rion Williams|LINK
What does your markup look like?
It could be that if you are loading jQuery from a CDN and don't properly have a "document ready" block around your jQuery-related code that it isn't being loaded in time like the following:
<!-- Reference jQuery and other dependencies here -->
// Your jQuery code in here
But it'd be difficult to tell without seeing the actual code (including the references to jQuery and the library you are using for the date picker itself).
Jun 29, 2017 06:44 AM|AngelinaJolie|LINK
When viewed on desktop and laptop, I can see the jQuery Datepicker. But when I view the page on cell phone, I don't get the datepicker.
There are different Datepicker js files for computer and cell phone ;