Read up on components: 
http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax

On Sunday, November 15, 2015 at 10:46:14 PM UTC-5, Anthony wrote:
>
> In the parent page view, include the form via something like:
>
> {{=LOAD('default', 'ajaxTask.load', ajax=True)}}
>
> And then in your Javascript code, just use the clicks to show or hide that 
> div that contains the form (don't make any Ajax calls there). That way, the 
> form will always be on the page -- the clicks just control whether it is 
> visible or not.
>
> Anthony
>
> On Sunday, November 15, 2015 at 10:33:45 PM UTC-5, lucas wrote:
>>
>> hey anthony, thanx for the rapid response.  i don't quite get it.  will 
>> you point in the direction so i can understand the implementation better? 
>>  thank you.  you know, i really love programming in web2py.  i have a few 
>> years under my belt and it really is an excellent system.  lucas
>>
>

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