Answer the question
In order to leave comments, you need to log in
Is there ajax capability in yii?
I decided to learn yii and, as a fan of playing around with a never-updated page, I decided to immediately google how it is with Ajax and on the very first page I found some strange example there, solid PHP and no Js. How is that? Can't use Js in yii? Jokes aside. But maybe I'm just not even close to understanding the purpose of frameworks? And if someone has a ready-made or from my head, you can have an example of work, please
Answer the question
In order to leave comments, you need to log in
It can be used in the same way as without the use of frameworks.
Make a request in a separate js file, hang it on the element you need, do the action in the controller, perform the manipulations that you need and give the answer back
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question