Why loading bootstrap.js twice times results to an error?
问题 I'm using summernote as my web online editor. But some part of the editor(buttons with bootstrap dropdown class) didn't work. I finally found out that loading jquery.js and bootstrap.js twice times was the problem (The page includes header.php which already loads the two js files). So I'm confused about the error. What would happen if a js file is loaded multiple times while some other js files depend on it? And why should jquery.js, jquery-ui.js and bootstrap.js be loaded in order when they