How to show a bootstrap modal pop-up on click of a check-box?
I have a requirement in a view page to display a bootstrap modal pop-up where a list of records displayed in table from database. On click of single record, pop-up screen should be closed and the details of the selected record should be displayed in the parent view page.
Can anyone help on this with practical example?

Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 28, 2017, 8:25 AM EDT
Abhishek Srivastava58 reputationPosted Jun 28, 2017, 9:25 AM EDT
type="checkbox" id="id_remove_photograph" name="remove_photograph" class="checkbox_resize" onchange="remove_photograph_change();" photograph-remove-confirm="Your Photograph will be removed only after you save the form!"> Remove Photograph// START: photograph remove modal code. $('[photograph-remove-confirm]').click(function(ev) { if (!$('#photographRemoveConfirmModal').length) { $('body').append('{% trans "Confirm" %} - {% trans "Remove" %} {% trans "Photograph" %} {% trans "Cancel" %} {% trans "Remove" %} {% trans "Photograph" %} '); } $('#photographRemoveConfirmModal').find('.modal-body').text($(this).attr('photograph-remove-confirm')); $('#photographRemoveConfirmModal').modal({show: true}); return false; }); // FINISH: photograph remove modal code.Manikandan MurugesanRank #300 · 8.4K reputationPosted Jun 28, 2017, 4:43 PM EDT