动态引入javascript

注意最后 "</scr"+"ipt>" 这是必要的,因为浏览器只要看到</script>它就会认为代码到此结束,从而引起错误
原文地址:https://www.cnblogs.com/chuangweili/p/5159725.html