The parent page introduces the sub-page, the child page introduces the Jquery.js file, the parent page JS relies on the jquery.js, the problem is, the total hint JS object is invalid. Guessing that the jquery loading order is not the first cause.
Parent page:
Sub-page:
From this point of view, Jquery.js is the earliest, but why other JS are prompt attribute invalid it.
After using IE11 's F12 tool to see the JS loading order, found that jquery is the first load, just add the page loaded, suddenly there is a request to load a jQuery.
The reason is the following code:
$ (function () {
$ ("#zjyw_table_1"). Load ("xxx.jsp");
}
Xxx.jsp loaded the jquery.js again. This sentence is normal after the comment.
This problem is still depressed for a long time, record, convenient for other people ha.
jquery repeated loading, resulting in the JS all failure problem dependent on jquery