{{=LOAD()}} = HTML web2py.component() = JS
Signature should be similar, read the doc... Richard On Tue, Feb 14, 2017 at 4:26 PM, <shamimur.rah...@gmail.com> wrote: > just realized there are some typo... so is it > > web2py.component('{{=URL('default', 'test.load',args=['lspci'])}}', > target='component1') > > =LOAD is working but it does automatic rendering, I want to do the same > after the webpage had been loaded, so want to use web2py.component inside > javascript function, > > > On Tuesday, February 14, 2017 at 2:38:53 PM UTC-6, shamimu...@gmail.com > wrote: >> >> What is the equivalent of following when using web2py.component() ? >> >> {{=LOAD('default', 'test.load', args=[''lspci'], ajax=True)}} >> >> is it ? >> >> web2py.component('{{=URL('default', 'test2.load',args=['dmesg'])}}', >> target='component1') >> > -- > 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. > -- 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.