<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title> <script src="jquery-3.3.1.min.js"></script>
<script type="text/javascript">
//第一种写法
$(document).ready(function () {
//alert("hello 第一种写法");
}) //第二种写法
jQuery(document).ready(function () {
//alert("hello 第二种写法")
})
//第三种写法
$(function () {
alert("hello 第三种写法");
})
jQuery(function(){
alert("第四种写法")
})
</script>
</head>
<body> </body>
</html>
欢迎关注小编的公众号,更多学习视频、模板、工具(wind激活工具)!!!

												

最新文章

  1. 嵌入式:J-link刷固件(坑)
  2. VB.NET操作Excel
  3. C#,委托,匿名委托,Lambda表达式
  4. 自动化工作之自动更新SVN
  5. Mac Pro 修改主机名
  6. AppStore 相关
  7. Collectl基础
  8. MSSQLSERVER数据库- 字符串分割函数返回类型表
  9. Android Loader详解三:重启与回调
  10. Android Studio:You need to use a Theme.AppCompat theme (or descendant) with this activity. AlertDialog
  11. ceph伦理概念
  12. boostrap-非常好用但是容易让人忽略的地方------row
  13. VIP站长大会(北京站)常见问题解答
  14. chrome与pdf的事情
  15. Oracle存储过程 一个具体实例
  16. HUST 1583 长度单位
  17. html5+css基础
  18. Confluence 6 下载和安装 MySQL 驱动
  19. 一轮冲刺(NABCD)和需求分析
  20. Java设计模式六大原则之场景应用分析

热门文章

  1. docker入门2:基础操作(1)
  2. session_start()的逻辑
  3. python 和为S的两个数字
  4. Java transient关键字【转】
  5. 在sql语句中 inner join ,left join,right join 和on 以及where
  6. Windows Serverserver结束MySQL自己主动数据库备份
  7. 大约Android远程监控APP源代码
  8. express的路由规则
  9. 读BeautifulSoup官方文档之html树的打印
  10. discuz电脑访问手机版域名怎么跳转到电脑版本