当前位置: 首页 > 工具软件 > jQuery Guide > 使用案例 >

jquery实战之jquery-migrate迁移旧代码到 jQuery 1.9+

卢鸿博
2023-12-01

文档:
https://github.com/jquery/jquery-migrate

jquery-migrate/README.md at 1.2.1 · jquery/jquery-migrate · GitHub

jQuery Core 1.9 Upgrade Guide | jQuery

jQuery Core 3.0 Upgrade Guide | jQuery
 

1.简介

此插件可用于检测和恢复 jQuery 中已弃用并从 1.9 版开始删除的 API 或功能。

2.使用

将如下代码加入页面:

<script src="http://code.jquery.com/jquery-1.9.0.js"
 类似资料: