1, when the entire page is loaded for the first time, the highcharts page can be run normally and alert can be executed.
2, when clicking the button to use $(""). Load () "to load the charts page, and then the charts page $("-sharpcharts "). Load (" / BZ_TeamInfo/bzCharts ") to load the highcharts page, the introduction of highcharts.js alert cannot be implemented, but canceling the introduction of highcharts.js can execute alert.
3, when I cancel the introduction of highcharts.js and put it into jquery.js or bootstrap.js, I can execute alert
charts page
< div class= "row" id= "charts" >
<script type="text/javascript">
$(function () {
$("-sharpcharts").load("/BZ_TeamInfo/bzCharts");
});
</script>
</div>
highcharts page
<script type="text/javascript" src="~/Scripts/highcharts.js"></script>
< script type= "text/javascript" >
alert("js.");
< / script >