Syntax confusion

Syntax confusion


I'm new to both jQuery and jQuery UI. The jQuery part is coming
easily enough, but I'm having a problem wrapping my head around the UI
part.
Specifically I'm trying to utilize datepicker. I'm using code as
such:
$("#calendar").datepicker({ prevText: "<<", nextText:
">>"});
I'm confused specifically because I'm later trying to modify the
datepicker in code, but using the following statement does nothing:
$("#calendar").datepicker({ prevText: "previous" });
I've looked through the demos, but they all seem to be one-liners.
--- Jim ---