$ is not defined
来源:互联网 发布:yii2连接数据库 编辑:程序博客网 时间:2024/04/27 02:38
<script src='js/jtouch/jquery.js'></script><script type="text/javascript"> var config_shopInfor ={ct: true }</script> <div id="page_shopInfor"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type="text/css" href="css/shopInfor.css" rel="stylesheet"><div class="content"><div class="title">购物信息</div><div class="listview"> <a href="myOrders.html"><div class="item">我的订单</div></a> <a href="myGrade.html"><div class="item">我的积分</div></a> </div> </div><script></script></div>对于$ is not defined问题 纠结很久
自己在网上搜咯一下 大概是这样的:
首先检查下是否引入了jquery的js,在则检查顺序是否正确,jquery的js必须在所有的js之前,注意是所有的js之前。
比如上面的代码,必须把"<script src='js/jtouch/jquery.js'></script>" 两段js之前。
不然就会报错
- Ext is not defined
- $ is not defined error
- $ is not defined error
- dojo is not defined!
- $ is not defined
- $ is not defined 问题
- Ext is not defined
- Ext is not defined
- $ is not defined
- jQuery is not defined
- ReferenceError: $ is not defined
- Ext is not defined
- $ is not defined
- d3 is not defined
- CERT_NONE is not defined
- Ext is not defined
- $ is not defined
- $ is not defined
- 启用增量备份
- 用IntelliJ开发Spark
- Notification的总结
- win32 sdk下调用webbrowser控件
- Object C 与 Java
- $ is not defined
- Erlang中list和tuple的构建及转换的内部实现
- 东软实训(Java EE)
- DHTMLX combo的学习
- 把一列约束唯一
- hibernate查询汇总
- Linux下查看Raid磁盘阵列信息的方法
- poj2566 Bound Found -- Two pointers
- “O2O-自营销”大势难挡 房地产门户集体恐慌