Say I use the Ajax support built into Apex to inject a report region into a page (as one of Carl's
examples shows). Now I would like one of the report columns to do a drilldown i.e. when I click on a report column, I call a function do_drilldown('#SOME_VALUE#'). Regardless of whether I define the do_drilldown function on either the "host" page or the injected page/region, it doesn't work, FF throws a 'function not defined' error.
Googling for keywords like [javascript inject html execute|http://www.google.com/search?q=javascript+execute+function+injected+innerhtml] shows that this is a common issue but the solutions given are a bit cumbersome (and insecure?) to implement.
How is this sort of thing typically done in Apex?
Thanks