I was trying to follow https://github.com/phalcon/cphalcon/wiki/Dependent-Select-Dropdown, but was unable to get it to work. I have a few questions.
-
"Since I like to keep my javascript separate from the rest of the view I typically put the javascript in its own file. So there are three changes in the view." What is defined in that javascript file? I'm assuming that it is js/referrals.js, but that is not listed in the example.
- Would it be possible to get an example of the entire javascript file, view, controller and model?
Thank you.