页面加载后手动加载js
1. document.write('<script src="http://echarts.baidu.com/echarts2/doc/asset/js/jquery.min.js"></script>');
会导致页面刷新
2. var script = document.createElement("script");
script.type="text/javascript";
script.src= 'http://echarts.baidu.com/echarts2/doc/asset/js/jquery.min.js';
document.body.appendChild(script);
完美解决