Jump to content

OnSelect fleids


petervdvoort

Recommended Posts

If you have a data structure like

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

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]
Link to comment
https://forums.phpfreaks.com/topic/11770-onselect-fleids/#findComment-44555
Share on other sites

Archived

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

×
×
  • Create New...

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.