This is based on pure memory recall so I might be mistaken. You may need to use the .live jquery method when new elements are added. Try it if you run into issues even though you are super suer your code is right.
On Dec 28, 9:25 pm, Luther Goh Lu Feng <elf...@yahoo.com> wrote: > The link can trigger off 2 calls to web2py_component(url,id1) and > web2py_component(url,id) via javascript. > > On Dec 28, 4:45 pm, weheh <richard_gor...@verizon.net> wrote: > > > > > > > > > I'm trying to get a trapped ajax link, which deletes a record, to > > update two different divs on the screen. One div is rendered by its > > controller. But how about the other div, assuming that it is usually > > rendered by an entirely different controller? I tried using > > response.js and response.headers['web2py-component-command'] to render > > the other div, but it didn't work. I'm missing something.