Welcome Guest, Not a member yet? Register   Sign In
Load CI View into BS4 Modal
#4

(06-25-2019, 10:37 AM)albertleao Wrote: Are you trying to do it without reloading the page? You'll have to use ajax for that

(06-25-2019, 12:50 PM)dave friend Wrote:
(06-25-2019, 08:07 AM)Entai Wrote: Hi, I use the crudigniter web to get a nice crud ... now I had the "add" and the "edit" views, but I am wondering what is the way to put that views into a BS4 Modal.


Put the HTML and BS4 CSS that defines a modal in the same view that opens the modal.

Thx, I have found this way:

Load the view via AJAX == $("#contenidomodal").load( "<?php echo base_url().'mutual/edit/'.$id;?>" );
Reply


Messages In This Thread
Load CI View into BS4 Modal - by Entai - 06-25-2019, 08:07 AM
RE: Load CI View into BS4 Modal - by albertleao - 06-25-2019, 10:37 AM
RE: Load CI View into BS4 Modal - by dave friend - 06-25-2019, 12:50 PM
RE: Load CI View into BS4 Modal - by Entai - 06-25-2019, 01:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB