we had a recent thread about this with more details and the answer is, not always. There is some browser dependence as well.
On Apr 6, 5:54 pm, Thadeus Burgess <[email protected]> wrote: > I was under the impression that if the js code was in script tags it > would execute it when inserted into the DOM ? > > There is always exec. > > -Thadeus > > On Tue, Apr 6, 2010 at 5:04 PM, mdipierro <[email protected]> wrote: > > Now I understand. The problem is not the ajax trap. The problem is > > that browsers do not execute JS code in ajax loaded context. This is > > not a web2py issue but I can see the problem. Let me give this some > > thought. > > > On Apr 6, 3:39 pm, Kuba Kucharski <[email protected]> wrote: > >> Massimo, > > >> Isn't this the same issue? > > >>http://groups.google.com/group/web2py/browse_thread/thread/a907fdafd4... > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

