<div class="content" id="a"><IFRAME src="http://weather.265.com/weather.htm" frameBorder=0 marginwidth=0 marginheight=0 scrolling=no style="width168:px;height:50px;" width=168 height=50 scrolling=no ALLOWTRANSPARENCY="true"></IFRAME></div>
</div>document.getElementById("a").innerHTML = '<IFRAME src='+要赋的值+'/>
</div>document.getElementById("a").innerHTML = '<IFRAME src='+要赋的值+'/>
document.getElementById("a").innerHTML = ' <IFRAME src="'+要赋的值+'"/>'
疯了~又写错了
document.getElementById("a").innerHTML = ' <IFRAME src="'+要赋的值+'"></IFRAME>'