Thanks, this is much better than directly using data-loading-text and 
data-complete-text

On Sunday, February 7, 2016 at 3:31:33 AM UTC-6, Niphlod wrote:
>
> LOAD(...) has a "content" keyword just for it.
> A() doesn't use "loading..." but "working...". it's customizable too, 
> using _disable_with
>
> On Saturday, February 6, 2016 at 12:10:15 AM UTC+1, Antonio Salazar wrote:
>>
>> LOAD(content=x) will replace the button with x (default content is 
>> "loading...") until it gets a response back.
>> A() also replaces itself with "loading..." when using the callback or cid 
>> parameters, but I don't see a builtin way to replace "loading..." with, for 
>> example, a spinner image.
>>
>> What alternatives do I have here?
>>
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to