Mike,
Maybe I did not explain it real well. I can do this:
console.log(x); // This returns the entire datepicker object, I am only looking for something of the form 6/15/2013
So when someone selects a date from the datepicker calendar I want to see that value in console.log
UPDATE: This works console.log(x[0].value); also this is the default value when doing a browser refresh. What I want is when the onchange event fires the date selected is written to the console.log. Currently I can never get console.log to show anything except todays date.
Thanks,
Jim