<!doctype html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>select选择-按钮跳转</title>
<script type="text/javascript">
function setsubmit()
{
if(mylink.value == 0)
window.
if(mylink.value == 1)
window.location='http://www.w3cschool.cn';
if(mylink.value == 2)
window.location='http://www.w3cschool.cn';
}
</script>
</head>
<body>
<select name="mylink" id="mylink">
<OPTION value="0">百度</OPTION>
<OPTION value="1">w3cschool在线教程</OPTION>
<OPTION value="2">优聚</OPTION>
</select>
<input type="button" id="btn" value="提交" onclick="setsubmit(this)" />
</body>
</html>
相关文章
- 04-04need
- 04-04[Attention Is All You Need]论文笔记
- 04-04[LeetCode] 295. Find Median from Data Stream_hard tag: Heap Need to update the follow up question?
- 04-04题解报告:hdu 1203 I NEED A OFFER!(01背包)
- 04-04Paper | Attention Is All You Need
- 04-04Patches Are All You Need?
- 04-04what is the virtual machine, when and why we need use it ?
- 04-04Meta-Learning Is All You Need
- 04-04cf1000E We Need More Bosses (tarjan缩点+树的直径)
- 04-04[R] 添加误差棒的分组折线图:geom_path: Each group consists of only one observation. Do you need to adjust the...