According to http://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.