<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head><body>
  
<select name="select"  id="r" size="1" onChange="alert(this.value)">
  <option value="20">20</option>
  <option value="30">30</option>
  <option value="40">40</option>
</select>
</body>
</html>