作者a7752035 (uishi)
看板Ajax
标题[问题] javascript
时间Thu Jun 4 19:38:58 2009
请问一下,我想在网页里面新增下拉式选单
要怎麽做??
不是新增选项喔
是"新增一整个选单"
但是先前的选资不要被动到
<%@ page contentType="text/html; charset=big5" language="java" import="java.sql.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<script language="javascript">
function NewView()
{
}
</script>
</html>
</head>
<%%>
<body>
<form id="form1" name="form1" method="post" action="">
<label>
<select name="select" >
</select>
<input type="submit" name="Submit" value="+" onclick="NewView()" />
</label>
<p> </p>
<p> </p>
</form>
</body>
</html>
这是我的原始码 请问一下,我要怎麽按+之後新增一个选单在下面??
求各位大师帮忙!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 203.68.92.107
1F:→ s5846125:"+" 在哪里? 06/05 15:43