[open-training-community] urgent

0 views
Skip to first unread message

bankim pandya

unread,
Apr 20, 2010, 10:46:46 AM4/20/10
to open-traini...@googlegroups.com
hi all..

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..!

any suggestionss...plz?

--
You received this message because you are subscribed to the Google
Groups "open-training-community" group.
To post to this group, send email to
open-traini...@googlegroups.com
To unsubscribe from this group, send email to
open-training-com...@googlegroups.com
For more options, visit this group at
http://groups.google.co.in/group/open-training-community?hl=en-GB

Ashish Rana

unread,
Apr 21, 2010, 12:52:54 AM4/21/10
to open-traini...@googlegroups.com


<option value="1250 ">1250</option>
<option value="1355">1355</option>
<option value=" 7777" selected="selected">7777</option>
Reply all
Reply to author
Forward
0 new messages