window.opener.document..中含有变量,怎么运行
window.opener.document..中含有变量,如何运行该语句
<script language= "javascript " type= "text/javascript ">
function nodeSelect(ReturnTextControl)
{
var ss= "window.opener.document. " + ReturnTextControl + ".value=100 ";
//如何运行SS变量中命令?
}
</script>
------解决方案--------------------eval(ss);