function SetAddin()
{
var aaa = "F_"+g_idname+"";
alert(aaa);
window.\''+aaa+'\'.document.getElementById("Text1").value = g_menuid;
}
我想window.aaa.document.getElementById中的aaa获取上面定义的aaa字符串,怎么写哦,整半天没成功
------解决方案--------------------
window.frames[aaa].contentwindow.document.getElementById("Text1").value = g_menuid;