How to get the result of Javascript in Codeigniter?
Good evening. The task was to process some data, a solution was found using JavaScript. But there was one little problem, after treatment, need to return data back to the controller, how it can be implemented?
First load the controller, then extracts from the database information that is loaded into a huge array sent to the view, in the form of information processed by JavaScript.
Please do not contact me about design, $this->load->view("page.php", $data, TRUE), this design will bring all the existing code on the page, and I need to get only the result.
Thank you.
1 answer
In JavaScript nothing in the form is not processed. Teach materiel
Find more questions by tags CodeIgniter
codeigniter3.info/guide/general/views
A view is simply a web page, or a page fragment, like a header, footer, sidebar, etc. - Neil.Morar commented on June 10th 19 at 16:32