Answers for "modal open on form submit in jquery"

9

onclick open modal jquery

$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Posted by: Guest on February-12-2020
3

modal show jquery event

<div class="modal fade" id="phoneEdit" tabindex="-1" role="dialog" aria-labelledby="phoneEdit" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header center">
        
            <label class="large-text bold text-align-left"> 
              <?= __d('member', 'edit_password'); ?>
            </label>

        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
    
      <div class="modal-body">
	  </div>
     </div>
  </div>
</div>



$("#phoneEdit").on('shown.bs.modal', function(e){
        console.log('enter here');
     
     	// do anything after the modal open
        $(".number_six").val("");
    });
Posted by: Guest on January-28-2021
-1

onclick open modal jquery

$('#my-modal').modal({
    show: 'false'
});
Posted by: Guest on February-12-2020
-1

onload of modal jquery function

$("#myModal").on('shown.bs.modal', function () {
        alert('The modal is fully shown.');
   });
Posted by: Guest on March-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language