提取下拉框中的值?
<body>
请给出下拉框的值 :
<select name="mychoise" onPropertyChange="a()">
<option selected >选择</option>
<option>1</option>
<option>3</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>10</option>
</select>
<script languange="javascript">;
function a(){
window.confirm(document.all.mychoise.options[document.all.mychoise.selectedIndex].text);
}
</script>
</body>
点击图片后用文本框的数据控制将传到哪一页?
<head>
<script languange="javascript">;
function manroll()
{
if (window.turnpagetext.value!="")
{
window.open("http://blog.csdn.net/delva") //这里可以用到window.turnpagetext.value的值。
window.turnpagetext.value="";
}
}
</script>
</head>
<body>
<input name="turnpagetext" type="text" size="6">
<img src="cangbaodong/ctbk_go.gif" width="23" height="20" align="top" onclick=manroll()>
</body>
function a(){
window.confirm(document.all.mychoise.options[document.all.mychoise.selectedIndex].text);
}
</script>
</body>