Page 1 of 1

CakePHP issue

Posted: Mon Jan 25, 2010 1:22 am
by indian98476
i want to retrieve a dropdown menu id which i displayed in my views folder into my controller so i can write specific functionality for it...
lets say there is a drop down menu for months from Jan to Dec. I want my user to click on Jan and the sales for that specific month on the display screen...for this i defined my array variable of months in the file rent_projection.thtml in the views folder...now i want to access this variable in my controller's folder so that i can write the specific functionality for it.....

Re: CakePHP issue

Posted: Tue Jan 26, 2010 1:07 am
by Luke
You kind of forgot to ask a question. What are you asking?

Re: CakePHP issue

Posted: Tue Jan 26, 2010 10:42 pm
by indian98476
sorry....the first line was my Q....and i got it working....
k i explain it here again...

i want to retrieve value from a drop down menu which is selected dynamically/on the fly....this value must be passed to my controller file(uses the cakePHP framework....MVC - model view controller)....so was thinking "how the hell do i pass it???" got it working now....the .js file should retrieve those values from the specific dropdowns and pass it through an ajax.updater() to the specified file as parameters to the file url....hope u got it how i did it... hey thanx guys for reading and trying for the issue...