Uncaught TypeError: jQuery(…).modal is not a function
-
Hi everyone,
I’m calling scripts like this :
<script type=’text/javascript’ src=’js/jquery-3.6.1.min.js?ver=3.6.1′ id=’jquery-core-js’></script>
<script type=’text/javascript’ src=’js/jquery-migrate-3.4.0.min.js?ver=3.4.0′ id=’jquery-migrate-js’></script>
<script src=”https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js”></script>and I have error at here :
// Uncaught TypeError: jQuery(…).modal is not a function
function showModal() {
jQuery(‘#wpdm-locks’).modal(‘show’);
}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Uncaught TypeError: jQuery(…).modal is not a function’ is closed to new replies.