[Seaside] jQuery datepicker callback

Sebastian Nozzi sebnozzi at gmail.com
Wed Oct 10 19:48:06 UTC 2012


Hello Seasiders,

I am kind of lost here. I would like to have a jQuery datepicker, not attached to an input-field like in the demos but instead inside a div. On selection I would like to know, on the Smalltalk side, about the value and trigger a response. The code I have is like this:

renderDatePickerOn: html
	html div
		id: #datePicker;
		script: (html jQuery new datepicker
			onSelect: (html jQuery ajax callback: [ :c | ... ] value: (html jQuery: #datePicker) serialize)).

Any ideas? :-)

Thanks a lot,

Sebastian


More information about the seaside mailing list