RicardoCostaTW Posted February 27, 2014 at 12:40 PM Report #546880 Posted February 27, 2014 at 12:40 PM Boas Pessoal, Não consigo utilizar a sintaxe normal do ajax no cakephp. Já vi algumas coisas sobre o JSHELPER, mas não consigo fazer o que quero. Como posso chamar uma action do controller por ajax enviando determinados dados e depois receber o resultado da action na view?
I-NOZex Posted February 27, 2014 at 02:36 PM Report #546894 Posted February 27, 2014 at 02:36 PM ve se te ajuda: http://stackoverflow.com/questions/18440905/making-jquery-ajax-call-from-view-to-controller-in-cakephp-2-x B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net
RicardoCostaTW Posted February 27, 2014 at 03:31 PM Author Report #546915 Posted February 27, 2014 at 03:31 PM (edited) eu já tinha tentado algo parecido, mas nunca obtia resposta depois Edited February 27, 2014 at 03:36 PM by RicardoCostaTW
I-NOZex Posted February 27, 2014 at 04:10 PM Report #546924 Posted February 27, 2014 at 04:10 PM posta o codigo que tens sfv... eu nao trabalho com CPHP, trabalho com Yii, posso tentar analizar com o que sei 😉 B2R » Beat2Revolution v3.0b | Regista e divulga-nos beat2revolution.net
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now