[Seaside] Synchronizing two datepickers
Lukas Renggli
renggli at gmail.com
Tue Jul 13 10:04:53 UTC 2010
On 13 July 2010 11:23, Dennis Schetinin <chaetal at gmail.com> wrote:
> This
>
> (html textInput)
> on: #date of: self request;
> script: (html jQuery new datepicker
> onSelect: (html jQuery ajax serializeThis callback:
> [(html jQuery id: 'id11') value: 'abcde']))
>
> is not working as (if I understand correctly) there's no actual reply to GET
> request.
The variable 'html' is not valid any longer in the callback. Try
something along
(html textInput)
on: #date of: self request;
script: (html jQuery new datepicker
onSelect: (html jQuery ajax serializeThis script: [ :script |
script add: ((html jQuery id: 'id11') value: 'abcde') ])))
to send back a script to the browser.
Lukas
--
Lukas Renggli
www.lukas-renggli.ch
More information about the seaside
mailing list