how to pass data to modal form? |
hi guys,
how to pass data to modal form? I have a page that shows all the data of a customer table , view only one client this table in my modal form ? Ps. i no wanted to used jquery or javascript, has the ? Thanks very much
right , I'll try , I found a tutorial about it and I'm reading the CI documentation
thanks very much
Generally, you would use JavaScript to send an AJAX request to your controller to retrieve the data for the item you want displayed in the modal, then populate the modal and display it.
If you don't want to use JavaScript, you would just submit the request and load the page with the modal populated and displayed, but, at that point, there's little benefit to using a modal to display the data. |
Welcome Guest, Not a member yet? Register Sign In |