




















<script language="javascript">
//JS 设置DropdownList 的选择值
function select()
{
//根据选择索引设置 以0开始
var temp = document.getElementById("ddlPackageType");
temp.options[0].selected=true;
//获取选项文本和值
alert(temp.options[temp.selectedIndex].text);
alert(temp.options[temp.selectedIndex].value);
}
</script>
//JS 设置DropdownList 的选择值
function select()
{
//根据选择索引设置 以0开始
var temp = document.getElementById("ddlPackageType");
temp.options[0].selected=true;
//获取选项文本和值
alert(temp.options[temp.selectedIndex].text);
alert(temp.options[temp.selectedIndex].value);
}
</script>