摘要: 正常的在js文件中写一个函数 function test1(){ alert("这样是调用不到的"); } 只有这样声明才能调用到 test=function(){ alert("可以调用"); } 然后在 html 页面中 <script> test(); 这样就调用成功了 </script> h 阅读全文
posted @ 2018-09-17 00:36 ThinkYou 阅读(8986) 评论(0) 推荐(1) 编辑