How do they do that? -Answer.com

Discussion in 'Programming' started by mahmood, May 27, 2006.

  1. #1
    At www.answer.com if you type the first letter of a word it gives you suggestions of the rest. I don't think it is javascript.

    How do they do that? I guess they refresh the frame and get the data from a database everytime we type in something, is that right?

    .
     
    mahmood, May 27, 2006 IP
  2. pricethat

    pricethat Active Member

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #2
    It is probably AJAX which realistically can only be initialised by javascript. If you do a search on google for AJAX, perhaps with PHP as well then you will learn all about it, it is the same as "google suggest" which i am sure you can read up on as well
     
    pricethat, May 27, 2006 IP
  3. mahmood

    mahmood Guest

    Messages:
    1,228
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Right, it seems to be the technique used.
     
    mahmood, May 27, 2006 IP
  4. Selkirk

    Selkirk Peon

    Messages:
    93
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Selkirk, May 27, 2006 IP