jQuery UI Functional Test Suite

Say it in Smalltalk, Do it with jQuery

Datepicker Widget

For additional documentation and examples please visit the official web-site.

Demo

Smalltalk

JQDatepickerFunctionalTest>>initialize
   super initialize.
   date := '09/19/2008'

JQDatepickerFunctionalTest>>renderContentOn: html
   html textInput
      value: date;
      callback: [ :value | date := value ];
      script: (html jQuery new datepicker
         onSelect: (html jQuery ajax serializeThis))

Source

< = = = = =/>
< =>/*<![CDATA[*/$("#id28").datepicker({"onSelect":function(){$.ajax({"url":"/javascript/jquery-ui/datepickerwidget","data":["_s=Rn87qCyAelHtKKSM","_k=ExWccSnmx8rAWmz8","27",$(this).serialize()].join("&")})}});/*]]>*/</>