Jump to content
Updating IPB tonight Read more... ×


This topic is now archived and is closed to further replies.


OnSelect fleids

Recommended Posts

Hello All,

I have an Question.

I use a form with two select fields. If I select an item in field one. De page has to auto update the page so that the data can be loaded in the second field.

My Question is how does this work?



Share this post

Link to post
Share on other sites
If you have a data structure like

[code]country          city
---------        -----------
id        --+    id
ctry_name   |    city_name
            +--< ctry_id

then you can use something like the baaSelect class in my sig. This will create the required javascript arrays and functions to update the second select when the first changes.

Alternatively, you can use [a href=\"http://members.aol.com/barryaandrew/xmlhttp/article.html\" target=\"_blank\"]AJAX / xmlhttp[/a]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.