On Tuesday, April 25, 2017 at 12:26:50 PM UTC-4, Rudy wrote:
>
> Hi Anthony,
>
> Thanks for your suggestion, below script alert("heeheehee") only got 
> triggered when i moved the cursor in the textbox, edited the date 
> yyyy-mm-dd manually, then moved the cursor to another field. 
>
> after I modified to .on("input"), alert("xxyyyzzzz") only got triggered 
> when I again moved the cursor in the textbox, edited the date yyyy-mm-dd 
> manually, but this time no need to wait till the cursor moved to another 
> field. After alert("xxyyyzzzz"), alert("heeheehee") was triggered 
> immediately with .change()
>
> I wonder if i can use .on('changeDate') and like below
>
> links 
> http://stackoverflow.com/questions/22507671/bootstrap-datepicker-change-date-event-doesnt-fire-up-when-manually-editing-date
>
> http://bootstrap-datepicker.readthedocs.io/en/latest/events.html
>

>From the docs, it looks like .on('changeDate') should work. If it's not, 
you should probably ask elsewhere, as this is a Bootstrap issue, not web2py.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to