Jquery and AJAX is a much better alternative to the plain javascript methods used by Dynamic Dropdowns.
there are a number of tutorials available through Google, here a re a couple:
generating-dynamic-selection-dropdown-jquery-ajax/
autopopulate-select-dropdown-box-using-jquery/