On Thursday, January 18, 2018 at 11:58:47 AM UTC-8, Andrea Fae' wrote:
>
> Anthony, you are very good teacher. But can I have a couple of examples 
> using web2py and javascript? thank in advance.
>

The first example (a simple one, but a starting point) is in the section 
Anthony mentions.  For easy scrolling, it is the paragraph just above
<URL:http://web2py.com/books/default/chapter/29/12/components-and-plugins#LOAD-signature>

/dps
 

>
> Il giorno giovedì 18 gennaio 2018 20:46:44 UTC+1, Anthony ha scritto:
>>
>> The end of this section 
>> <http://web2py.com/books/default/chapter/29/12/components-and-plugins#LOAD> 
>> mentions web2py_component(), which is an alias for $.web2py.component(). It 
>> is simply the Javascript function that loads an Ajax component on a page 
>> (the first argument is the URL and the second is the ID of the div where 
>> the component should be loaded). You can use it to trigger the creation or 
>> reloading of Ajax components using Javascript (e.g., clicking a button 
>> could load a component).
>>
>> Anthony
>>
>> On Thursday, January 18, 2018 at 2:31:34 PM UTC-5, Andrea Fae' wrote:
>>>
>>> Who is able to explain well $.web2py.component? What is the meaning?
>>> Where is in the web2py book? 
>>> Thank you
>>>
>>

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