Hi,
im using simple models to add/edit/remove data from a database. I have created 2 tables 'cities' and 'countries', and I want to link them using Ajax so when I select a country from a dropdown menu, the city dropdown gets populated. I have created a function with jquery so when the user selects an option from the dropdown, an ajax call is fired. The problem is that I need to specify a URL to a controller action to get that data from the database. I have created a controller/cities.php under fuel/models/ and added some actions, but I dont know to figure out the URL of these actions.
Thanks in advance!
Comments