Last post Jul 04, 2018 06:18 PM by mudassarkhan
Jul 03, 2018 03:45 AM|sidu|LINK
how to get the value of datetime from ajax call
it is giving 0001 like
thanks and reagrds
Jul 03, 2018 04:35 AM|vahid bakkhi|LINK
you can get the value by $("#dobs").val();
var date = $("#dobs").val();
<input type="date" id="dobs" />
<input type="button" id="btn" value="Get input Date value" />
First,select a date and nex click on the button , then shows you the date with alert
now, you can use the above code in your ajax call
Jul 04, 2018 06:44 AM|Brando ZWZ|LINK
According to your description, I couldn’t understand why you get the 0001 from a date control.
Could you please post more details codes about the date and control and the ajax scripts?
If you could post more details information and codes, it will be more easily for us to reproduce your issue and find a solution.
Jul 04, 2018 06:18 PM|mudassarkhan|LINK
Share your complete code, your AJAX call, how you are entering date, etc.