下拉列表<Select>回调用Javascript代码
<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%session.setAttribute("temp","ddddd"); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>My JSP 'index.jsp' starting page</title>
<script type="text/javascript">
function chooseme(){
var obj;
//obj = document.getElementById("st").options[2].value;
obj = document.getElementById("st").options.length;
for(var i=0;i<obj;i++){
if(document.getElementById("st").options[i].value == "${sessionScope.temp}"){
document.getElementById("st").optio