datepicker question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

datepicker question

Sabine Manaa
Hi,

I use datepicker like this:

 html textInput
        value: Date today;
        callback: [ :value |
                        self date: value  ] ;
        script: (( html jQuery new datepicker) onSelect: html jQuery ajax serializeThis).

In case of selecting the date within the datepicker popup (click at a date), it works fine ("self date:" is sent).
But if I change the date within the textInput field, without using the datepicker popup, the callback is not fired.

How can I set the date: also in case that the user types in the date in the text field?

Sabine
Reply | Threaded
Open this post in threaded view
|

Re: datepicker question

Sabine Manaa
ahhh sorry, I sent this message to the pharo list and not to the seaside list. I will send it to the seaside list.
Sabine