I have a modal in my page. When I try to call it when the windows load, it prints an error to the console that says :
$(...).modal is not a function
change the order of the script
Because bootstrap is a jquery plugin so it require Jquery to execute