Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

how to show data on popup?

I want to show popup on button.Popup should contain all data which is given by a controllers action. how can I achive this in phalcon?.I dont want all data on another page.Just want data to be print on popup. That popup is edit form which later on will get submitted.


WIth AJAX call the controller's action you want. Inside of it, return what do you want.

i want controllers data on popup


Yeah, you want a controller's action data in a popup. For that, do an AJAX call, and set the returned content in the popup's textbox