I have a 2d array and I would like to create 2 dropdown. The 1st dropdown will consist of the 1st level of the array. The 2nd will get populated upon selection of the 1st with the selected childs.
I know this is a task for ajax, but since the array wont be much big, so I want to avoid a request.