Linked Questions
11 questions linked to/from Bootstrap modal: is not a function
2 votes
4 answers
16k views
$(...).modal is not a function jquery.min.js
I have a modal that I want to open on the page load. But, I got this error: ` jquery.min.js:2 Uncaught TypeError: $(...).modal is not a function at HTMLDocument.<anonymous> ((index):491) at j (...
3 votes
2 answers
20k views
Uncaught TypeError: $(...).modal is not a function jquery
I have a jquery script to show modal form <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/...
3 votes
1 answer
5k views
Getting 'type error.... $(...).modal is not a function
I am trying to create and edit function to update notes by user (in a REACT project), using bootstrap modals, but here is the error I get Uncaught (in promise) TypeError: ...
0 votes
1 answer
3k views
how fix "modal is not a function" in vue.js?
Hello everyone I got this error: [Vue warn]: Error in v-on handler: "TypeError: $(...).modal is not a function". modal is not a fuction Here is my code in welcome.blade.php: <body> ...
0 votes
1 answer
1k views
JavaScript: How to call Bootstrap Modal from inside function?
I want to call a function on click of a link which will display modal. Imported Scripts in head tag <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"><...
0 votes
2 answers
962 views
jquery modal() not working when called from inside a function
I have a table where i put a button on the final column of some rows. This button is supposed to open a bootstrap modal using jquery through the onclick attribute. It calls a js function which has ...
2 votes
0 answers
626 views
Bootstrap related Javascript files bundled in the wrong order by Webpack
(There is a similar question. However, my Webpack configuration is significantly different, and now the official documentation doesn't seem to recommend using script-loader, so I thought there might ...
0 votes
1 answer
228 views
$(...).modal is not a function in module
I realise this question has been asked a few times but none of the solutions in previous questions have resolved my issue. I am trying to hide a modal using: $('#modal').modal('hide') but am ...
0 votes
1 answer
343 views
Bootstrap modal not showing ASP.NET MVC. Bootbox.js
I have a simple application that has a list from db and i want to show the details of the row through modal. The problem is the modal is not showing and i think that the problem is that the javascript ...
1 vote
0 answers
277 views
Datatable button aiming to different Modal with javascript
It is a table display in webpage, it displays one button for row using Datatable. In the column #4 displays either of 2 values, one is --- which is desires for trigger any of the two Modals after ...
1 vote
2 answers
131 views
Auto open modal by appending variable to selector
I've taken the code from the bootstrap site to come up with the following function which needs to auto open a selected modal if the int: ModalId is not 0. In Vis studio there is a syntax error red ...