View Full Version : Can't perform eval or execScript in IE8

04-14-2011, 01:03 AM
I am doing an XMLHTTP request in IE8. The eval() command didn't work there so I went with execScript, and it is getting to execScript with the code inside the variable, (I checked this with alert statements) but then it just skips over it.

function processStateChange(){
if (req.readyState == 4) {
str = req.responseText + "ProcessInfoNext();";
if (window.execScript) {
execScript(str, "JavaScript");
} else {
if (window.eval) {