Posts

Showing posts with the label dialog

Preview Saved HTML in Bootstrap Model Dialog

Image
I had to create a Bootstap model Dialog using HTML Content Saved in the Oracle Database LONG column, Its easy . I will keep the HTML in the a div which is hidden and take the contnet to the model HTML when user prometed. HTML- Dynamic Table Rows <div style="display: none" id="preview_<?php echo $row['TB_ID'] ?>" > <?php echo $row['TB_HTML'] ?> </div>  Model Dialog HTML - End of the Page <div class="modal fade" id="myModal" role="dialog"> <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">Detail</h4> </div> <div class="modal-bo