SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    autofill into textbox and dropdown menu

    hello there,
    i am a newbie and right now i am struck in one of the things i am learning.the problem is as follows:
    i have two text boxes....student name and address.When i enter first two or three alphabets into my student name textbox,i shud get a drop down list having all possible names with the first two letters from database.then i see thro them and select the student name that i want to fill in.when i select the respective student name...the respective student address details must also come from the databse to the second textbox.....

    please help me out...
    thanx in advance...
    ahmed

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am a newbie
    Your question has to do with javascript and using an XMLHttpRequest to request a php page that retrieves information from a database while the user is interacting with your form, which involves intermediate to advanced javascript.

  3. #3
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    stud

    hi stud,
    thanx for the quick suggestion, can u show me a small example....that explains how i can go abt it...

    thanx
    ahmed

  4. #4
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hello sterofrog,
    sorry for that,can u please help me out.
    thanx
    ahmed


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •