今天常宁新闻:请教js调用js写法?
来源:百度文库 编辑:神马品牌网 时间:2024/08/27 13:20:17
想把下面的代码写在一个js文件里应该如何写呢?
<script src="http://www.ggg.com/one.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-428844-1";
urchinTracker();
</script>
<script src="http://www.ggg.com/one.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-428844-1";
urchinTracker();
</script>
把
_uacct = "UA-428844-1";
urchinTracker();
加到one.js的最后面,然后
<script src="http://www.ggg.com/one.js" type="text/javascript">
就行