How to retrieve data by using combo box value in jsp? 1 Answer(s) 3 years and 3 months ago
Posted in : JSP-Servlet
Hi Friends,
When i click combobox value in jsp form page, it will diplay related value.... I am using only this page.. not get value from another page... For Example, in Student.jsp... when i click student id in combo box, the related student name will be display. I can stored all student id stored in combo box from database.. by using select*from studentinformation;
But when i click combobox the related student name did not display...
<script type="text/javascript"> function showEmp(emp_value) { if(document.getElementById("emp_id").value!="-1") { xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } var url="getuser.jsp" url=url+"?emp_id="+emp_value