Re: [web2py] Re: How to reload a div containing a component

2012-09-27 Thread Johann Spies
On 26 September 2012 16:10, Anthony 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: {{=LOAD('authors', 'publikasiev

Re: [web2py] Re: How to reload a div containing a component

2012-09-26 Thread Anthony
On Wednesday, September 26, 2012 9:50:59 AM UTC-4, Johann Spies wrote: > > On 26 September 2012 15:37, Anthony >wrote: > > First, your divs are identified via classes, but your jQuery selectors are >> for id's. You probably want to change the classes to id's: >> >> {{=LOAD('authors', 'publikasieve

Re: [web2py] Re: How to reload a div containing a component

2012-09-26 Thread Johann Spies
On 26 September 2012 15:37, Anthony wrote: First, your divs are identified via classes, but your jQuery selectors are > for id's. You probably want to change the classes to id's: > > {{=LOAD('authors', 'publikasievelde.load', > ajax=True)}} > Thanks Anthony. It was stupid of me to confuse class

[web2py] Re: How to reload a div containing a component

2012-09-26 Thread Anthony
> > {{=LOAD('authors', 'publikasievelde.load', > ajax=True)}} > {{=LOAD('default', 'personeel.load', ajax > =True)}} > {{=LOAD('default', 'nrfdata.load', ajax=True > )}} > > > $(document).ready(function() { > $('#Button1').click(function() { > $('#herlaai_pubvelde').load('/init/aut