Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    2
    Member #
    31694
    Can you please give me a fully working example as to how to achieve the following?

    Background
    My Db table consists of a column title. It has 12 entries... Jan, Feb, Mar.... Dec
    In my index.php, there is a form. It has a text field.

    What I want?
    When user types in J .... he should be given option Jan, Jun, Jul. For m... both march and may ... and so on.

    Analogue
    Similar to the stuff that happens at shopping sites when we search for an item like ebay.com etc.

    Can you give me a complete code?

  2.  

  3. #2
    Senior Member Ganners's Avatar
    Join Date
    Feb 2011
    Location
    United Kingdom
    Posts
    415
    Member #
    27007
    Liked
    92 times
    What you're looking for is "Autocomplete" using Ajax. So a good example is the following:

    http://www.devbridge.com/projects/autocomplete/jquery/

    This provides you the plugin (jQuery plugin) and how to use
    Love Truth likes this.
    Mark Gannaway Software Developer

    Recent Experiments
    - Backpropogation Neural Network language solving (http://ann.ganners.co.uk/)
    - Animated image to ASCII (http://google.ganners.co.uk/)
    - 3D Paper Characters (http://cybergame.ganners.co.uk/)
    - Anagram solving (http://roflol.co.uk/)

  4. #3
    Junior Member
    Join Date
    May 2012
    Posts
    2
    Member #
    31694
    Thanks a lot. So fast and so precise. Thanks sir :-)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:37 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com