views:

30

answers:

1

Hello All,

I m creating one web page having one textbox and one dropdown list with submit button. Now my problem is : When i ll enter text in a textbox depending on that text one sql query will run and it's result should be shown in drop down list. I tried with onchange,onClick function but it didn't worked. I m not getting exactly how to retrive value from textbox.

Thanks in advance

A: 

I think you're looking for the onkeyup event - http://jsbin.com/elugo3/edit

Martyn