Re: [web2py] Still need help with jQuery - replacing div contents

2011-07-19 Thread Michele Comitini
Cliff, I think you need to rebind events to the DOM of the new content: you need to add some code that will be executed each time the new content is received by the browser. If you do not want to rebind every time you can try with jQuery.live() http://api.jquery.com/live/. Hope it helps. mic

[web2py] Still need help with jQuery - replacing div contents

2011-07-18 Thread Cliff
I would be extremely grateful if somebody were to point me in the right direction here. When I use jQuery :eval to update div contents, the browser shows me the updated contents as expected. However, when I look at the source code, I see the old contents. I think this is causing a problem,