Welcome Guest, Not a member yet? Register   Sign In
how to pass data to modal form?
#4

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.
Reply


Messages In This Thread
how to pass data to modal form? - by pompeu - 04-10-2015, 05:42 PM
RE: how to pass data to modal form? - by pompeu - 04-11-2015, 07:34 AM
RE: how to pass data to modal form? - by mwhitney - 04-13-2015, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB