大问题啊!!!搞定立刻给分,关于模式窗口的
1.htm
<script>
function a()
{
window.showModalDialog("2.htm",window,"")
}
</script>
<input type="button" onclick="a()">
2.htm
<head>
<title>haha</title>
</head>
<frameset>
<frame src="3.htm">
</frameset>
3.htm
<script>
function a()
{
//alert(parent.document.title);
parent.document.title="hoho";
}
</script>
<input type="button" onclick="a()">
我有以上3个文件,我想在1.htm或3.htm里改变2.htm的title,有什么办法?