i have two table…
table one is ingredient those fields are ingredient_id,ingredient_typeID,ingredientname
another table is ingredienttype those fields are id,ingredient_type…
i have another table which is recipe table… recipe table is relation with all table…
my code is written in recipe controller and _form is (view file)… drop down is working but… validation… ie…
based on the select values is not change…
i want that if i select the Ingredient Type dropdown… Ingredient values should be change… ingredient values are plenty… based on type… it should be change… i added my code below… pl suggest me suitable answer5028