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 <[email protected]> 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 [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.

