⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 purchase_seletproshow_ajax.jsp

📁 医药供应链管理系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GB2312"%>
<jsp:directive.page import="java.util.ArrayList"/>
<jsp:directive.page import="com.captainli.dboperation.ProduitDA"/>
<jsp:directive.page import="com.captainli.bean.ProduitBean"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
<title>Insert title here</title>
</head>
<body>
<%	if(request.getParameter("p_sc_id").toString().equals("0")){%>
		<select name="p_name" size="100" id="p_name" style="height:140px; width: 200px "></select>
	<%}else{ 
		ArrayList arry = new ProduitDA().showProduitSc(Integer.parseInt(request.getParameter("p_sc_id").toString()));
	%><select name="p_name" size="100" id="p_name" style="height:140px; width: 200px " ondblclick="return show()">
		<%
			for(int i = 0;i < arry.size();i++){
				ProduitBean bean = (ProduitBean)arry.get(i);
		 %>
		<option value="<%= bean.getP_name() %>"><%= bean.getP_name() %></option><%} %>
		</select>
		
 <%} %>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -