When I am sending my date using .serialize() it is sending as an string not exact date format …is there a way I can send it as 09/01/2010… not as a string
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Everything is posted to the server as a string…this is just how HTTP POST works. You can change the format, but it’ll be a string no matter what date format you use.
If you’re using the jQuery UI Datepicker you can populate another field used for posting use the
altFieldandaltFormatoptions, for example:For format information, check our your options here.