I didn't say it's a business question...ah....I didn't lie.....What I mean is if you give me the answeer...I will give you ...the trading is a business problem....shall me the program please...though I have got one and will hand in tomorrow...wanna have a look at what I got?
to lemonade(^#^寒烟^*^) 告诉我你的email:我给你mail一个例子。 my email:[email protected]
使用MISCROSOFT的控件就可以。
removeall()
additem(subNthItem,menuItemTitle,menuItemValue,nthItem)
popup(x,y)
<html>
<head>
<script language="javascript">
function addItem(){
var opt = document.createElement("OPTION");
opt.text="http://www.csdn.net";
opt.value="http://www.csdn.net";
document.all.sel.add(opt);
}
function openWin() {
var selectValue = document.all.sel.value;
window.open(document.all.sel.value);
}
</script>
</head>
<body>
<form name="frm">
<div id="lb">
<select id="sel" onchange="openWin();">
<option value="http://www.163.net">http://www.163.net</option>
<option value="http://www.163.net">http://www.163.net</option>
<option value="http://www.sina.com.cn">http://www.sina.com.cn</option>
</select>
</div>
<input type="button" value="ADD" onclick="addItem()">
</form>
</body>
</html>
告诉我你的email:我给你mail一个例子。
my email:[email protected]