67,513
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> new document </title>
<script type="text/javascript">
window.onload=function(){
document.getElementById("a2").selected=true;
}
</script>
</head>
<body>
<select id="a" name="b">
<option id="a1">abc</option>
<option id="a2">ccc</option>
</select>
</body>
</html>