if you add "w2p_component_stop" as a class to the element, the cycle will 
be interrupted.

On Wednesday, November 23, 2016 at 4:50:47 PM UTC+1, Richard wrote:
>
> Did you try ajax_trap=False
>
> Or you can redirect by specifying the extension='html' if it does work, so 
> you can redirect once form is accepted.
>
> Richard
>
> On Wed, Nov 23, 2016 at 9:50 AM, Pierre <theogn...@gmail.com <javascript:>
> > wrote:
>
>> Hi,
>>
>> i wrote this in a view :
>>    
>>  <h4 class="floating-box">
>>         {{=LOAD('default','ustat.load', args=[k], target='pcustat',
>>                 ajax=True,times=10, timeout=5000, 
>> content=T('loading...'))}}
>> </h4>
>>
>> I want to quit the LOAD loop when *ustat *returns 'OK'
>>
>> response.js = "jQuery('#pcustat').remove();" 
>>
>> generates a web2py.js jquery get error and i also would like to keep 
>> *ustat* returned value within the <h4>   ?
>>
>> -- 
>> 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+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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