Welcome Guest, Not a member yet? Register   Sign In
bootstrap modal did not pop up after 10 records of pagination datatable in codeignit

Bootstrap modal did not pop up after 10 record of data table pagination. i don't know why so please help me. i had many tried to solve this but i cant understand this. I don't know idea about jquery so please give me ans.
Here is my php code:

<table id="example1" class="table table-bordered table-striped">
            <th>Sr No</th>
            <th>Deadline Date</th>
     $str = 1;
     foreach ($getplan as $key => $get) {
            <td><?php echo $str; ?></td>
            <td><?php echo $get['title']; ?></td>
            <td><?php echo $get['description'] ?></td>
            <td><?php echo $get['color'] ?></td>
            <td><?php echo $get['end_date'];?></td>
                <?php echo $get['members'] ?><br/>
                <a href="<?php echo base_url() . "welcome/get_member_id/" . $get['id'] ?>"<i class="fa fa-plus" aria-hidden="true"></i>Add Member</a>

                <input type="button" name="view" value="Show" id="<?php echo $get['id'] ?>" class="btn btn-info btn-xs view_data" />


Here is my Modal:
<div id="dataModal" class="modal fade">  
<div class="modal-dialog modal-lg">  
   <div class="modal-content">  
       <div class="modal-header">  
           <button type="button" class="close" data-dismiss="modal">&times;</button>  
           <h4 class="modal-title">Employee Tast Details</h4>  
       <div class="modal-body" id="employee_detail">
       <div class="modal-footer">  
           <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>  

Here my script:

<script type="text/javascript">
            var employee_id = $(this).attr("id");
                url:"<?php echo base_url('welcome/show'); ?>",  

Here is a good one and has all of the information that you need, very simple jQuery Modal.

jQuery Modal

GitHub Code, ReadMe and Installation
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB