It's a well-known issue: if you make an AJAX call and the returned HTML contains javascript, the javascript in the returned HTML won't run or work because it isn't reparsed into the page.
I've looked at numerous pages on the web related to solving this issue, but none of them are clear to me (or clear enough for me to understand, at least).
Currently I'm building an application that makes an AJAX call, and part of the returned code contains some javascript. Unfortunately the returning HTML it *has* to contain this javascript, there isn't any way around it that I can see.
Can anyone show me a clear example of how to overcome or solve this issue?