根文件夹
  |----app_code
  |----mlm
          |---css
          |---js
                |---Function.js
          |---order
                |---order.aspx
现在我想在order.aspx页面中调用Function.js里面的函数,可是貌似路径不对没找到呢?
代码:
Function.js里写了个测试函数。
这个js文件没有用<script language="javascript" type="text/javascript">(其实试过用了也没用 = =|||)
    function aaa()
    {alert('ok');}
order.aspx的<head>中路径引入
<script src="../js/Functions.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
window.onload = function() 
    {aaa();.......}
现在就是没法触发那个alert,是我路径写的不对还是哪里漏掉什么代码?
外部js文件的函数不能直接用??
请各位不吝赐教~ 谢谢
 米琪卡哇伊
米琪卡哇伊 
					qq_花开花谢_0
 
					浮云间
 
					MM们
 
					慕少森
 随时随地看视频慕课网APP
随时随地看视频慕课网APP
相关分类