Dependent selects can be created using Joomla's built-in javascript library
(see includes > js > joomla.javascript.js )
using the changeDynaList() function.
So what I want to achieve here is that by selecting a Department, the Subdepartment dropdown gets dynamically populated.
