From 704856a8ddac7c51f1002a2cdcc25d41cfd92e3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=91=A8=E5=8E=9A=E8=BE=B0?=
<7964342+zha_cai@user.noreply.gitee.com>
Date: Wed, 13 Dec 2023 04:23:06 +0000
Subject: [PATCH] =?UTF-8?q?add=2053=20=E5=91=A8=E5=8E=9A=E8=BE=B0/2023-12-?=
=?UTF-8?q?12=20=E7=AC=AC=E4=BA=8C=E5=8D=81=E4=B8=89=E6=AC=A1=E6=AC=A1?=
=?UTF-8?q?=E4=BD=9C=E4=B8=9A=20JQuery.md.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: 周厚辰 <7964342+zha_cai@user.noreply.gitee.com>
---
...254\241\344\275\234\344\270\232 JQuery.md" | 301 ++++++++++++++++++
1 file changed, 301 insertions(+)
create mode 100644 "53 \345\221\250\345\216\232\350\276\260/2023-12-12 \347\254\254\344\272\214\345\215\201\344\270\211\346\254\241\346\254\241\344\275\234\344\270\232 JQuery.md"
diff --git "a/53 \345\221\250\345\216\232\350\276\260/2023-12-12 \347\254\254\344\272\214\345\215\201\344\270\211\346\254\241\346\254\241\344\275\234\344\270\232 JQuery.md" "b/53 \345\221\250\345\216\232\350\276\260/2023-12-12 \347\254\254\344\272\214\345\215\201\344\270\211\346\254\241\346\254\241\344\275\234\344\270\232 JQuery.md"
new file mode 100644
index 0000000..d72fad2
--- /dev/null
+++ "b/53 \345\221\250\345\216\232\350\276\260/2023-12-12 \347\254\254\344\272\214\345\215\201\344\270\211\346\254\241\346\254\241\344\275\234\344\270\232 JQuery.md"
@@ -0,0 +1,301 @@
+## jQuery 语法实例
+
+- [$(this).hide()](https://gitee.com/link?target=https%3A%2F%2Fwww.w3school.com.cn%2Ftiy%2Ft.asp%3Ff%3Djquery_hide_this)
+
+ 演示 jQuery hide() 函数,隐藏当前的 HTML 元素。
+
+- [$("#test").hide()](https://gitee.com/link?target=https%3A%2F%2Fwww.w3school.com.cn%2Ftiy%2Ft.asp%3Ff%3Djquery_hide_id)
+
+ 演示 jQuery hide() 函数,隐藏 id="test" 的元素。
+
+- [$("p").hide()](https://gitee.com/link?target=https%3A%2F%2Fwww.w3school.com.cn%2Ftiy%2Ft.asp%3Ff%3Djquery_hide_p)
+
+ 演示 jQuery hide() 函数,隐藏所有
+
+ 元素。
+
+- [$(".test").hide()](https://gitee.com/link?target=https%3A%2F%2Fwww.w3school.com.cn%2Ftiy%2Ft.asp%3Ff%3Djquery_hide_class)
+
+ 演示 jQuery hide() 函数,隐藏所有 class="test" 的元素。
+
+ ## jQuery 语法
+
+ jQuery 语法是为 HTML 元素的选取编制的,可以对元素执行某些操作。
+
+ 基础语法是:*$(selector).action()*
+
+ - 美元符号定义 jQuery
+ - 选择符(selector)“查询”和“查找” HTML 元素
+ - jQuery 的 action() 执行对元素的操作
+
+ ### 示例
+
+ $(this).hide() - 隐藏当前元素
+
+ $("p").hide() - 隐藏所有段落
+
+ $(".test").hide() - 隐藏所有 class="test" 的所有元素
+
+ $("#test").hide() - 隐藏所有 id="test" 的元素
+
+ **提示:**jQuery 使用的语法是 XPath 与 CSS 选择器语法的组合。在本教程接下来的章节,您将学习到更多有关选择器的语法
+
+```html
+
+
+```
+
--
Gitee