$(“#test”) //jQuery对象
$(“#test”)[0] //jQuery对象->原生的DOM对象
$($(“#test”)[0]) //DOM对象->jQuery对象(有点绕,但只要明白使用$()后能将原生的DOM对象封装成jQuery对象即可)
$(“#test”) //jQuery对象
$(“#test”)[0] //jQuery对象->原生的DOM对象
$($(“#test”)[0]) //DOM对象->jQuery对象(有点绕,但只要明白使用$()后能将原生的DOM对象封装成jQuery对象即可)

2023-03-10
0万阅读

2023-02-27
0万阅读

2023-02-23
6万阅读

2023-02-22
6万阅读

2023-02-12
8万阅读

2023-02-12
3万阅读

2023-01-19
8万阅读

2023-01-17
4万阅读

2023-01-17
4万阅读

2023-01-17
2万阅读

2023-03-10
0万阅读

2023-02-27
0万阅读

2023-02-23
6万阅读

2023-02-22
6万阅读

2023-02-12
8万阅读

2023-02-12
3万阅读

2023-01-19
8万阅读

2023-01-17
4万阅读

2023-01-17
4万阅读

2023-01-17
2万阅读