SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jun 2004
    Location
    Montreal
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Updating a select box with ajax

    Hi all,

    just wondering if any of you can give me some tutorial, link or help for this :

    I've got a select boxe filled with php/mysql ... so for example

    Option A
    Option B
    Option C

    What I need to do is, when the user select one of these option, to display a different text in a div that came from mysql

    Thank for any kind of help!

    turb

  2. #2
    SitePoint Member
    Join Date
    Nov 2004
    Location
    Mid-West
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ajax also known as Remote Scripting

    Hello Turb,

    If you are looking for code to give you a chain selector from your database then check into the two links below. Someone has already done the hard work for you. You will have to customize it for your own use. I use it to give me 4 drop down menus from my database.

    www.ashleyit.com/rs/jsrs/select/php/select.php
    www.ashleyit.com/rs/main.htm

    SG

  3. #3
    SitePoint Addict
    Join Date
    Jun 2004
    Location
    Montreal
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank alot SunGod,

    I'll look at these links later


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
  •