选中相应的单选按钮弹出相应的页面javascript代码怎么写? 假如有一个单选按钮:我一选中它之后就会立马弹出一个页面怎么做? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 纯前台代码实现,弹窗可能被阻止<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" checked="checked" onclick="window.open('http://www.baidu.com')">ss<input type="radio" name="ra" onclick="window.open('http://www.google.cn.hk')">bb wzx_xyz:<script language="javascript"> 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>我的这段代码哪里有错呢?为什么弹不出百度页面? 如何用javascript进行分页 关于dojo Dialog的问题? js 的this丢失 求一段JS代码,框架中打开超链方面的技术 如何实现网页的打开与闭合? 求一javascript?我点击一个文字,隐藏一个表格,然后再点击这个文字,再显示这个图片! 如何提示安装文件是否成功?有个截图,大神们看下! 怎样制作MSNspace 的拖动背景效果???? 如何在.net中用javascript将一个form的内容post到后台处理 正则表达式判断IP的问题? 帮忙看个监听鼠标点击和移动的程序 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>
我的这段代码哪里有错呢?为什么弹不出百度页面?