• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Website (Javascript/Ajax) tutorial

MrMark

Super poster
Joined
Sep 17, 2007
Messages
2,156
Likes received
1
Thanks received
1
Location
Central London
Hello, I wonder if any of you sterling chaps (or chapesses) can recommend me a useful tutorial site. I've started developing a site as per http://www.lenguahelp.co.uk/ The way it works at the moment is you enter a word (eg deep, story, compromise) and after submission the site will retrieve various expressions from the database with the Spanish equivalent. What I'm looking for is a way to have a drop down list based on what the user starts entering. For example if the first letter is "a" then words like abacus...abandon...above...abrupt would be displayed in the dropdown list. However if the next letter is 'c' then the list would display words like accept...access...accident (all depending on which words have been input into the database of course). My guess is that I'd need to do this in Javascript/Ajax along with manipulation of css. Is there a relevant tutorial out there? I have done a preliminary google but as yet not found what I need.
 
A Google search for the term "implementing google suggest" should hopefully steer you in the right direction.
 
A Google search for the term "implementing google suggest" should hopefully steer you in the right direction.

Nice one, thanks! If only I'd worked out how the best Google search phrase..:ohwell
 
Nice one, thanks! If only I'd worked out how the best Google search phrase..:ohwell

No worries - I had to struggle to remember what Google called their version of the feature :ohwell
 
A Google search for the term "implementing google suggest" should hopefully steer you in the right direction.

In case it's of use to anyone, I used the first suitable link from the "suggested" Google search, and was able to adapt the script to my site. The tutorial link is :

Ajax Suggest tutorial

I'm sure there are other tutorials that fit the bill, but this one worked very well for me.
 

Advertisers

Back
Top