Welcome Guest, Not a member yet? Register   Sign In
Bad MVC - how to avoid it when using AJAX dropdown?
#2

[eluser]Agustín Villalba[/eluser]
I recommend you to pass the result from the model to the controller as an array, and after pass it to a view called "ajax_generic_dropdown_view" which receives the array and iterates over it generating the options of the dropdown.


Messages In This Thread
Bad MVC - how to avoid it when using AJAX dropdown? - by El Forum - 02-28-2011, 01:57 PM
Bad MVC - how to avoid it when using AJAX dropdown? - by El Forum - 03-01-2011, 10:45 AM
Bad MVC - how to avoid it when using AJAX dropdown? - by El Forum - 03-01-2011, 11:48 AM
Bad MVC - how to avoid it when using AJAX dropdown? - by El Forum - 03-02-2011, 08:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB