帮助我解决这个错误在IE9:“SCRIPT5007无法获取财产‘的indexOf’的值:对象为null或undefined” findParent = function (father, str, prop) {
/**
* Go up the DOM tree and find the parent element with the specified class o
var body = dojo.create("html", {innerHTML: tmplStr}).children[1];
tmplStr提供所需的html内容。我想将其设置为html.innerHTML。以上代码在FireFox,GoogleChrome和IE10中运行良好。但不能在IE8和9中工作。因为innerHTML只能在IE8和9中读取,所以我无法在IE8和9中设置内容。如果