D
D
des1roer2015-04-15 18:40:41
Yii
des1roer, 2015-04-15 18:40:41

Yii controller and ajax?

how to make in general that primitive thing?
Post request to current page? Well, stupidly click on the button and post some hidden value?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Lavrentiev, 2015-04-15
@des1roer

In your controller, create a separate action for ajax request, and process your request there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question