Not sure if that helps you undestand what im doing ?
Then let me summate: you are loading some HTML and script, generated by PHP, from the server via Ajax. The script in this loaded block is not executing when you insert the block into the DOM using innerHTML.
Is that correct?
If so, my reply stands.
[As does Eric's which says the exact same thing I said.]