i have this list box in which many values like 1250,1355, 7777, and so on values r going to be there. When i select on any of the values in the list box the page should be refereshed and below i have a another form where i want to display details on the basis of the value that i have selected.!!
For example.. i have employee number 500
.. and below i have a form that displays details for that employee ..
like i want to pass a sql statement saying
(select * from emptable
where empnum = '"+empnum+"') and empnum has the value 500 ... now how do
i pass the value 500 to the varaible empnum and how do i know which
value have i selected in the list box and on selection how do i refresh
the page..?
so i want to know these 2 things...
1. onselection
in the list box refresh the page
2. then retreive the selected value
in a variable..!