Author: firstsystems | Posted on: 7/29/2010 6:07:28 AM | Views : 283

Can anyone tell / show how to modify so that I can get the selected value into the textbox from this listbox selection.
<form name="myListform"> <% Set oRs=Server.CreateObject("adodb.recordset") strSQL = "SELECT CourseName,CourseID FROM tblCourses ORDER BY CourseID" oRs.Open strSQL, conn %> <select size= 5 NAME= "People" LANGUAGE=javascript onChange="passvalue()"> <% Do while not oRs.EOF Response.Write "<OPTION>"& oRS ("CourseID") &"" &" " &"-" &" " &""& oRS ("CourseName")&"</Option>" oRs.MoveNext loop %> </SELECT> <P><input type="text" name="Moo"> </form> <script language="javascript"> ...

Go to the complete details ...