Show a text field for emp id & disabled list box for emp name initially. Once the user tabs out of the text field or hits the enter key, handle the event and submit the page. The submission of the form, should make the necessary DB hit to get the appropriate (or related set ) of emp names. If there is too much data, I don't see the list box as an option.. hope this helps..
hai, for this i think u can do like this. u call a function on onblur event of a textbox and there u submit the form. something similar to <input name=text onblur="call();"> in the call function u can submit the form. hope this helps jyothsna
This is what i really want... There r many fields in the form ...the first 2 are emp no and emp name...in jsp page!! Now when the user enters the no in the first field...the emp name of that particular employee should be displayed fetching from the database.