Making data passed to modal usable for further code execution by concatenating to <embed> src string – Jquery
I am passing a dynamic string of data to booststrap modal using data-val in an HTML table. <td <button type="button" class="btn btn-success btn-xs" data-val="<?php echo $row['order_id']; ?>" data-toggle="modal" data-target="#my-modal" data-order-id ="<?php echo $row['order_id']; ?>">Update</button></td> I then have a script which…