Forum Moderators: open

Message Too Old, No Replies

QuickSearch with Ajax & Javascript

Need to display the matches from Database with help of ajax & javascript

         

crazysam1236

7:51 am on Dec 22, 2006 (gmt 0)

10+ Year Member



when i type a character in a textbox i need to get the matches from the database. iam able to do that with ajax. i got those results from database with help of ajax. but i am facing problem how to display them in div element which must support arrow movements and when enter is pressed on certain match then it must be reflected into the textbox. if anybody have sample code regarding this, it will be helpful to me. im able to get sample codes where there is no dynamic change in the matches. they are static.. iam unable to get solution. please help me in the scenario. Thanks in advance.

cmarshall

2:24 pm on Dec 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To be honest, I have no idea exactly what it is you need.

Could you be a bit more specific and simple? I'm not that swift, and I need help understanding the issue.

whoisgregg

2:33 pm on Dec 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com], crazysam1236!

I think you're trying to do something a la Google Suggest [google.com]? In which case a search for "google suggest javascript" at your favorite SE will turn up truckloads of articles/blogs about how to replicate the behavior.