Passing a formatted date with jquery datepicker?

Function getDateRange() { var fromDate = document.advancedsearch.startDatepicker. Value; var toDate = document.advancedsearch.endDatepicker. Value; var selectedDateRange = formatDateRange(fromDate, toDate); document.advancedsearch.searchdaterange.

Value += selectedDateRange; } function formatDateRange(fromDate, toDate) { var fromDateArray = fromDate. Split("/") var toDateArray = toDate. Split("/") var selectedDateRange = fromDateArray2 + fromDateArray0 + fromDateArray1; selectedDateRange += "," + toDateArray2 + toDateArray0 + toDateArray1; return selectedDateRange; }.

Brilliant! Thank you! – Choy Mar 1 '10 at 7:38.

If you can, try using the jQuery UI DatePicker: jqueryui.com/demos/datepicker.

Thanks for the reference. I looked over the documentation and it seems it has separate variables for display format and parsing to pass the string which is perfect. When I get more time, I'll look into switching to this plugin since it also looks prettier.

– Choy Mar 1 '10 at 7:40.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions