How to make datepicker display value form Json string?
String date is being passed as JSON from the controller to the view. Problem is the datepicker is not displaying the value. How to do it? function SetCalendar(id, str) { var strDate = document.getElementById(id); var dateVal = luxon.DateTime.fromFormat(str, "MM-dd-yyyy"); strDate.value = dateVal; } Tried like this, not working, how to do this? >Solution : Assuming… Read More How to make datepicker display value form Json string?