www.webdeveloper.com
Results 1 to 2 of 2

Thread: Ajax Depenant Drop Down List

  1. #1
    Join Date
    Apr 2005
    Location
    Essex, United Kingdom
    Posts
    187

    Ajax Depenant Drop Down List

    Hi. I am trying to build a depenant drop down list. I can do this easily using javascript arrays, but would like to try using Ajax. the values of the second drop down are stored in a mySql database.

    I have never used Ajax before, so am a little stuck. I have followed tutorials and have managed to insert a string in a text box etc, but have not found anything on how to populate a select field.

    can anyone help?

  2. #2
    Join Date
    Feb 2006
    Posts
    198
    you should try the Prototype Ajax library, it is quite simple to use. I am fairly sure it is available from javascript.internet.com.

    all you need to do is supply the id of the element, e.g. a div, and read the required data from the server

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles