假如有一个单选按钮:
我一选中它之后就会立马弹出一个页面怎么做?
我一选中它之后就会立马弹出一个页面怎么做?
解决方案 »
- 我靠!js jquery大师都进来啊!指导指导小弟给点思路呗!!
- 救急!!!问一个js的问题 window.showModalDialog() 表单传值
- 请教一个关于Json的小问题
- 一个Checkbox,一个text,当Checkbox被选择的时候,text的disabled为false,怎么写
- 疑惑不解!网页设计中,需要下面字体。
- window.open在腾讯浏览器中的问题。
- Frame内页面里的FORM对象附值问题,大家帮忙看看
- 请问怎样实现自动跳转功能,就像bbs上发表帖子后,会等几秒钟跳到另一个页面,在线等??
- 新手的入门问题
- 如何判断表单中的一个域的值是否属于另一个域的值?
- 帮忙看个监听鼠标点击和移动的程序
- Jquery 删除文件后页面数据没更新
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<script type="text/javascript">
function evFun()
{
window.open('test1.aspx',"","height=100,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no","");
}
</script>
<body>
<form id="form1" runat="server">
<div>
<input id="Radio1" type="radio" onblur="evFun()" />
</div>
</form>
</body>
</html>
<input type="radio" name="ra" onclick="window.open('http://www.google.cn.hk')">bb
function checkbox(){
var box = document.getElementById("check");
var div = document.getElementById("div1");
if(box.checked){
div.style.display="block";
}else{
div.style.display="none";
}
//alert(box);
var radiobutton = document.getElementById("radiobut");
if(radiobutton.checked){
window.open("http://www.baidu.com");
}
}
</script>
<body>
<form id="form1" name="form1" method="post" action="">
<input type="checkbox" name="check" id="check" onClick="checkbox()"/>
<div id="div1" style="display:none">
<label>
<input type="radio" name="radiobutton" value="radiobutton" id="radiobut"/>
<input type="radio" name="radiobutton" value="radiobutton" />
</label>
</div>
</form>
</body>
我的这段代码哪里有错呢?为什么弹不出百度页面?