jquery需要导入什么
2 回答

慕码人8056858
TA贡献1803条经验 获得超6个赞
比如你去下载了jquery1.6.2压缩版--- jquery-1.6.2.min.js
在页面上引入js <script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript">
$(function(){
$(body).append('<div>hello! jquery</div>');
});
</script>
- 2 回答
- 0 关注
- 590 浏览
添加回答
举报
0/150
提交
取消