Today, with a strange problem, the Bootstrap-table plugin did not execute at all. It was later found that the JS file used to perform the bootstrap startup error. Cause this will not smooth execution error JS program. Generally, there are two reasons why the plug-in cannot be executed successfully.
1. Reason 1: Some plugins need the premise JS, such as bootstrap-table need jquery,bootstrap. It must be loaded into the jquery,bootstrap before loading the bootstrap-table. This means that if there is a dependency between JS files, the JS file must be loaded in the order of dependency.
2. Cause 2:js file error, you need to execute the method in a wrong JS, cause you can not execute. (And if I transfer the contents of the JS file to the script in the current page, even though the script still contains errors, it is strange to be able to execute the calling method.) )
A JS plugin is not executing