modal popup

modal popup

karaakaraa Posts: 5Questions: 2Answers: 0

hi i have a datatable and i created a modal button which opens another table, what i wanted to do is to open the datatble data in the modal

$(document).delegate(".print_btn","click",function() {
$("#print_stuff").modal('show');

var linkText = `

<tr>
<th scope="row">"$</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>

</tr>

`
$('#content_of_print').html(linkText);

Answers

Sign In or Register to comment.