Jquery datepicker alert selected day formatted as 1 (or 2,…,14,…)?

Var day = dateFromDatePicker. Substr(0, dateFromDatePicker. IndexOf(".

")); alert(day); edit: my bad, you need to say from 0 to first index of ".

Thx for feedback function pickedDate(value, date, inst) { var day = value. Substr(value. IndexOf(".")); alert(day); } alerts only: .

11.2009 The day is still missing. – Cem Sep 4 '09 at 11:20 my bad. Fixed now (: – peirix Sep 4 '09 at 11:26 thx a lot... works meanwhile you gave me a kickstart with string manipulations: var be = value; var temp = new Array(); temp = b.

Split('. '); alert(temp0); – Cem Sep 4 '09 at 11:29 Yup, and that way might actually be better for you, in case you want to pull out month and year as well. You could simply do: var month = temp1; var year = temp2; – peirix Sep 4 '09 at 11:43.

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