Hi Madhumita,
Yes that works, and it also works with :
document.getElementById("ajaxdiv").innerHTML = myChart2.getSWFHTML();
I need it to work with the "ajaxdiv" reference because the xmlhttpresponse will send html with variable div containers into which I will need to render the charts, and I won't know the names of the container divs until the xmlhttpresponse is received. i.e. ajaxdiv might not be called ajaxdiv, but will be named according to dynamic rules.
Do you suggest I change my production code as above, or are you still investigating?