Title: Uncaught TypeError: jQuery(&#8230;).modal is not a function
Last modified: September 6, 2022

---

# Uncaught TypeError: jQuery(…).modal is not a function

 *  Resolved [zdwebmaster](https://wordpress.org/support/users/zdwebmaster/)
 * (@zdwebmaster)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/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&gt](https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js”></script&gt);
 * 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)

 *  [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * (@humayonk)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/uncaught-typeerror-jquery-modal-is-not-a-function/#post-15983895)
 * Hi [@zdwebmaster](https://wordpress.org/support/users/zdwebmaster/)
 * Greetings for the day.
 * Please ensure that jQuery is enqueuing and loading initially before every other
   script and that the source path is valid.
 * I hope it will resolve the issue.
 * Regards
 *  [BSF – Humayon Kabir](https://wordpress.org/support/users/humayonk/)
 * (@humayonk)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-jquery-modal-is-not-a-function/#post-16039395)
 * Hello [@zdwebmaster](https://wordpress.org/support/users/zdwebmaster/)
 * I hope your referred query has been resolved.
 * Have a good day.
 *  Thread Starter [zdwebmaster](https://wordpress.org/support/users/zdwebmaster/)
 * (@zdwebmaster)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-jquery-modal-is-not-a-function/#post-16043134)
 * Hi [@humayonk](https://wordpress.org/support/users/humayonk/)
 * No it’s not working.
 * When I using “Must Agree with Terms” lock option, modal is working without error.
   But when I activated “WPDM – Form Lock” option from lock options and select form,
   modal is not working with this error :
 * // Uncaught TypeError: jQuery(…).modal is not a function
 * all scripts and source paths same, just I want use form lock option.
 * Do you have any idea?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught TypeError: jQuery(…).modal is not a function’ is closed to new
replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [zdwebmaster](https://wordpress.org/support/users/zdwebmaster/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-jquery-modal-is-not-a-function/#post-16043134)
 * Status: resolved