On Jul 13, 2009, at 5:57 , ChadDavis wrote:
Without it, the following code was trying to have "datepicker"
turned into a
velocity variable. Not sure if it should have, but...
$.datepicker.setDefaults({
dateFormat: 'mm/dd/yy',
showOn: 'focus',
changeMonth: true,
changeYear: true
});
I'd like to understand why this is interpreted as a Velocity reference
though. "." is not a legal reference name character. Is this a bug?
Yes, this is a bug. In my test the following:
$.x
renders as:
.x
So it simply eats the dollar sign, which isn't correct. But the
following:
$..x
$("foo")
renders correctly as:
$..x
$("foo")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]