日期:2014-05-16  浏览次数:20381 次

取得 jsp 页面上的值
http://localhost:8080/student/record.jsp?spid=1
<span id="spid" style="display:none;"> <%=request.getParameter("spid")%> </span>

<script language="JavaScript" type="text/javascript">
		var spid = $("#spid").html();
		alert(spid);
</script>