On 26 September 2012 16:10, Anthony <[email protected]> wrote:

>
> No problem. Anyway, you might want to consider the second option, as
> web2py_component() handles some setup specific to web2py components, such
> as trapping links and forms, displaying flash messages, etc.
>

This:

<div id="herlaai_pubvelde">
{{=LOAD('authors', 'publikasievelde.load', ajax=True,
target='herlaai_pubvelde')}}
</div>
<div id="herlaai_personeel">{{=LOAD('default', 'personeel.load', ajax=True,
target='herlaai_personeel')}}</div>
<div id="herlaai_nrf">{{=LOAD('default', 'nrfdata.load', ajax=True,
target='herlaai_nrf')}}</div>

With your <script></script> code does the job.  Thanks!.

Removing the 'target= ..." in the above code does not make a difference.

In your example you had those lines without <div id=...></div>.  The divs
were created but duplicate divs appeared when the button was clicked and
the duplicates appeared like this:

<div id="herlaai_personeel">loading...</div>

Regards

Johann.
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 



Reply via email to