<html>
<body>
<iframe id='po' style='width:300'></iframe>
<input type=button value=modify onclick='document.all("po").style.width=500'>
<script>
</script> </body>
</html>
<body>
<iframe id='po' style='width:300'></iframe>
<input type=button value=modify onclick='document.all("po").style.width=500'>
<script>
</script> </body>
</html>
解决方案 »
- 新手,想问一个关于内存泄露的问题
- iframe中获取file绝对路径问题,document.selection.createRange()为空
- 问.net生成的button希望正则过滤onclick内容
- firefox中下拉框的内容显示问题
- JS如何转换编码?
- 求教高人,document.getElementById("game_eval").run
- 急!在线等 怎么动态添加删除文件上传对话框
- 如何才能执行这个函数?
- 怎么处理提交页面时的提交按钮的
- 请帮忙看看这段代码,要的效果是当鼠标经过button时,弹出菜单,请帮忙
- 关与在IE下的输入法问题?
- 为什么删不掉<input type="checkbox" checked>中的checked
height:<input id=lansa2 type="text">
<iframe id=lansa style="width:300;height:200"></iframe>
<input type="button" onclick="document.all('lansa').style.width=lansa2.value;document.all('lansa').style.height=lansa2.value;" value="bian">
<object id="doc_html" style="LEFT: 0px; TOP: 0px; width='95%'; height='520'" data="editor.html" type="text/x-scriptlet" VIEWASTEXT></object>
我想在editor.html里面来设置frame.htm的这个object的高度和宽度,怎么做啊???????