I am not sure I completely understand but if you have time to experiment and want to send me a patch or web2py_ajax.html I will be happy to look at it and probably inlcude it.
On Apr 1, 3:59 pm, DenesL <denes1...@yahoo.ca> wrote: > This means that any script included in the returned ajax call data > will be evaluated (run) after the target element is updated but the > script itself will not be part of the target. > If the returned data is guessed by jQuery as not being 'html' this > does not happen. > Massimo, can this explain what you have experienced?. > > Also note that the 'success' function runs before the 'complete' > function in web2py_ajax_page, I am not sure if you have those two > reversed. > > Denes. > > On Apr 1, 11:55 am, DenesL <denes1...@yahoo.ca> wrote: > > > According tohttp://api.jquery.com/jQuery.ajax/ > > dataType, one of the settings of jQuery.ajax, > > when set to "html" returns HTML as plain text; included script tags > > are evaluated when inserted in the DOM. > > > Similar effect is obtained setting it to "script" but with the side > > effect of turning POSTs into GETs. > > > On Mar 28, 8:28 am, DenesL <denes1...@yahoo.ca> wrote: > > > > This makes an interesting readhttp://ajaxpatterns.org/On-Demand_Javascript -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.