❔ Jquery UI Datepicker with ASP.NET MVC
God has this problem been a headache...
I have this code, which is Creating a datepicker element.
Heres the UpToDate model:
I am importing the relevant jquery scripts in my layout.cshtml file like so:
The output is attached. Basically, the date is displaying in the wrong format but displays correctly upon changing the date, and the datepicker itself clearly has messed up styling. What's even weirder is earlier I was having a different issue with the date, but the styling of the datepicker worked just fine, WITH THE EXACT SAME CODE.
Please help ;-;
3 Replies