[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread pedalpete
that's great kevin, Thank you. i didn't realize the selectedDate wasn't a string, i thought if i put var x=xyz, that makes it a string. I'm still fairly new to programming and learning lots. Thanks for your help, I hope I understood that correctly. Pete

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread Kelvin Luck
Hi, It looks like you are converting the Date object to a string by adding a space to the start of it. Instead you should use the methods available on the Date object itself. So something like this should work: $('.holdDate').html(selectedDate.asString()); (the asString method is defined in

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-27 Thread pedalpete
I've made some progress with this, but my code is looking really strange. To rehash, I am trying to get the datepicker to update a span, not an input. But i was getting an error. Now I can update the span, but I can't split the date variable before I update (it gives blank time and gmt details th