Sorry... I seem to have solved it... is this the correct way? Thanks again!
renderDatePickerOn: html
html div id: #datePicker;
script: ((html jQuery: #datePicker) datepicker
onSelect: (html jQuery ajax
callback: [:c | Transcript show: c; cr]
value: (html jQuery: #datePicker) datepicker getDate))
El 10/10/2012, a las 21:48, Sebastian Nozzi escribió:
> 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
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside