that's pretty right, considering that in this way web2py knows for sure 
that an element with id "whatever" is indeed in the DOM.

On Tuesday, October 22, 2013 8:50:49 PM UTC+2, Ricardo Pedroso wrote:
>
> On Tue, Oct 22, 2013 at 7:15 PM, Niphlod <nip...@gmail.com 
> <javascript:>>wrote:
>
>>
>> Try this instead:
>>>
>>> <div id="content"></div> <!-- /#component -->
>>> {{=LOAD(url,ajax=True,target='**content')}}
>>>
>>>  
>> LOAD(target='something') creates the div itself.
>>
>
> You are right, even without target keyword LOAD creates the DIV with a 
> random id
>
> Ricardo
>

-- 
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/groups/opt_out.

Reply via email to