Question: bootstrap .modal is not a function?
Answer: bootstrap. The bootstrap Modal error is actually the result of you not including bootstrap's javascript before calling the modal function. Modal is defined in bootstrap. js and not in jQuery . ... To avoid such error just be sure to include jQuery then bootstrap's javascript before you call the modal function.