modal form javascript code example
Example 1: how to show bootstrap modal
<script>
var myModal = new bootstrap.Modal(document.getElementById('ModalID'))
myModal.show()
</script>
Example 2: how to make popup modal in jquery with example
$('#sub-modal').modal({
closeExisting: false
});