<input type="radio" name="bgcolor" ONCLICK="document.bgColor='cccccc';parent.rightfrm.document.bgColor='cccccc'">
解决方案 »
- Ext gridpanel DWRProxy 绑定不上数据
- MSCOMM+javascript 开发
- 关于js实现简单的treeView的问题
- 请问,怎么样可以做像QQ空间里的背景音乐里的那种可以调整歌曲顺序的按钮
- 在JS脚本里让某个位置显示出字来应该怎么写?
- 二维数组取值
- 特殊
- 如何让JS做的下拉菜单浮在最上层???
- 问:用window.close(),怎能才不弹出确认对话框?
- Tomcat连接mongodb进行读取数据,每20秒连接读取一次,网页开了一个小时后,数据库和服务器会断掉
- 请问如何在已有的一张表中插入我想要的行数,载入时不让页面刷新,动态的往页面添加。(谢谢)
- 怎么动态的禁止ie右键菜单弹出
‘parent.rightfrm.document’不是对象
筐架页面
<frameset cols="130,*" frameborder="no" border="1" framespacing="0">
<frame name="left" scrolling="auto" frameborder="YES" src="left.asp">
<frame name="main" scrolling="auto" frameborder="YES" src="main.asp">
</frameset>
<noframes>
</noframes>左栏<FORM METHOD="POST" NAME="bgcolor" target="main">
<input type="radio" name="bgcolor" ONCLICK="document.bgColor='cccccc'">
<input type="radio" name="bgcolor" ONCLICK="document.bgColor='ffcc00'">
</form>
<SCRIPT LANGUAGE="JavaScript"><!-- hidefunction goHist(a) { history.go(a);}//--></script>右栏
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="main.css" rel=STYLESHEET>
<body bgcolor="#f8f8d0">
暂无内容
function setcolor(obj)
{
document.bgColor=obj.value;
parent.main.document.bgColor=obj.value;
}
</script>
<FORM METHOD="POST" NAME="bgcolor" target="main">
<select onchange=setcolor(this)>
<option value=red selected>red
<option value=yellow>yellow
<option value=orange>orange
<option value=green>green
<option value=blue>blue
</select>
</form>