By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

autosuggest key controls

P: n/a
raj
Hi,
can anyone help me in in creating autosuggest using ajax

i have fetched the values from DB and showing in the div as per the
text entered in the text box.
but i am not able to do mouse events like downarrow,up arrow and enter
key
how can i handle this .

Thanks in Advance
Raj
Oct 7 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Oct 7, 9:08*am, raj <2rajes...@gmail.comwrote:
Hi,
can anyone help me in in creating autosuggest using ajax

i have fetched the values from DB and showing in the div as per the
text entered in the text box.
but i am not able to do mouse events like downarrow,up arrow and enter
key
how can i handle this .

Thanks in Advance
Raj
Try this...

http://cylo.co.uk/listControl.html

It's the basis of an input control I'm going to build
Oct 7 '08 #2

P: n/a
On Oct 7, 11:59*am, Laser Lips <loudsphi...@gmail.comwrote:
On Oct 7, 9:08*am, raj <2rajes...@gmail.comwrote:
Hi,
can anyone help me in in creating autosuggest using ajax
i have fetched the values from DB and showing in the div as per the
text entered in the text box.
but i am not able to do mouse events like downarrow,up arrow and enter
key
how can i handle this .
Thanks in Advance
Raj

Try this...

http://cylo.co.uk/listControl.html

It's the basis of an input control I'm going to build
Just So you know, this doesnt work yet in FF.....I just built it two
days ago..
Oct 7 '08 #3

P: n/a
raj meinte:
but i am not able to do mouse events like downarrow,up arrow and enter
key
Er... what? "Mouse events like downarrow"? Mouse events can invoke their
respective listeners, and so can key events. I suppose you are looking
for the "keydown" (in particular), the "keyup" and perhaps the
"keypress" events. Attach listeners which check whether the event was
triggered by the appropriate keys and call your cursor-up/cursor-down
function.

Gregor

--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Oct 7 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.