Re: Call Ajax from Javascript Function

2009-02-04 Thread Pyrite
Thanks for your response, it was helpful. Sounds like the word Helper is just what it says it is, and that's it. Helpers can't do the full job, but they help out where they can. I'm starting to realize that now with Cake. On Jan 28, 7:46 pm, Sidney wrote: > I'm not sure if it's 'recommended', bu

Re: Call Ajax from Javascript Function

2009-01-28 Thread Sidney
I'm not sure if it's 'recommended', but I found quite quickly that the scope of the $ajax helper becomes too limited (you just can't get enough code into the array param). The solution is then to start coding javascript using prototype functions directly and take full control. Prototype makes aja

Call Ajax from Javascript Function

2009-01-27 Thread Pyrite
Instead of observing a select field to make an ajax request to a controller action onchange, I want the onchange to call a custom javascript function that will do some logic and then make the ajax request to the controller and update a div afterwards. So .. how would I do that? Or, I guess i co