Answers for "modal js"

9

onclick open modal jquery

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

open modal js

$('#modal-name').modal('show');
Posted by: Guest on May-07-2021
0

jquery display modal bs4

$('a[href$="#Modal"]').on( "click", function() {
   $('#Modal').modal('show');
});
Posted by: Guest on May-06-2020
3

modulus js

//We are trying to find a table for my speed dating group to sit at, that is the most economical for the restaurant. How many options do I have?

const tableNumbers = [5, 14, 7, 10, 20, 11, 12, 15, 3]

for (let i =0; i < tableNumbers.length; i++) {
  //if the tableNumbers length can be divided by 2 (%) = and leavs a remainder of 0 
    if (tableNumbers[i] % 2 === 0) {
        console.log(tableNumbers[i])
    }
}
Posted by: Guest on September-08-2020
1

how to make popup modal in jquery with example

<!-- AJAX response must be wrapped in the modal's root class. -->
<div class="modal">
  <p>Second AJAX Example!</p>
</div>
Posted by: Guest on October-10-2020
0

how to make popup modal in jquery with example

$('#sub-modal').modal({
  closeExisting: false
});
Posted by: Guest on October-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language