<script>
function MyClass()
{}
MyClass.prototype.Display = function()
{
document.write("<iframe name=ccc width=300 height=300></iframe>");
}MyClass.prototype.d = function()
{
window.frames["ccc"].document.open();
window.frames["ccc"].document.write("<font color=red>ddddddddd</font>");
window.frames["ccc"].document.close();
}var my = new MyClass();
my.Display();
my.d();
</script>
function MyClass()
{}
MyClass.prototype.Display = function()
{
document.write("<iframe name=ccc width=300 height=300></iframe>");
}MyClass.prototype.d = function()
{
window.frames["ccc"].document.open();
window.frames["ccc"].document.write("<font color=red>ddddddddd</font>");
window.frames["ccc"].document.close();
}var my = new MyClass();
my.Display();
my.d();
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货