I have a div tag which is filled with script via an ajax call, but the script does not execute.
Is there a way to cause the script to execute?
I guess, you are writing script tag into innerHTML directly
This will not work.
document.body.innerHTML+="