Ajax and select lists

hey, does anyone has a simple example for ajax and selects

i want this:

u have a list of clients with ex:
-client 1
-client 2

when u select “client 1” or “client 2” the second select list becomes
and all the locations of that client are in the second list.

how must u do this