• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • 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

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Website (Javascript/Ajax) tutorial

    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.
    Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

    #2
    A Google search for the term "implementing google suggest" should hopefully steer you in the right direction.
    Where are we going? And what’s with this hand basket?

    Comment


      #3
      Originally posted by voodooflux View Post
      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..
      Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

      Comment


        #4
        Originally posted by MrMark View Post
        Nice one, thanks! If only I'd worked out how the best Google search phrase..
        No worries - I had to struggle to remember what Google called their version of the feature
        Where are we going? And what’s with this hand basket?

        Comment


          #5
          Yahoo's YUI is also worth a look
          http://developer.yahoo.com/yui/autocomplete/

          Comment


            #6
            Originally posted by krytonsheep View Post
            Yahoo's YUI is also worth a look
            http://developer.yahoo.com/yui/autocomplete/
            Mercy Buckets. All useful stuff!
            Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

            Comment


              #7
              I'm all for jQuery myself:

              http://jquery.com/

              Comment


                #8
                Originally posted by Ardesco View Post
                I'm all for jQuery myself:

                http://jquery.com/
                Thx - looks like another great source.
                Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

                Comment


                  #9
                  Originally posted by voodooflux View Post
                  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.
                  Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

                  Comment

                  Working...
                  X