Citation:
<script src="jquery-3.3.1.js"></script>
jQuery is a jQuery object, which can be abbreviated as $
Basic syntax: $(selector).action()
2. Find elements
1. Selector
基本选择器 $("*") $("#id") $(".class") $("element") $(".class,p,#p1")
level selector
Basic filter
attribute selector
form selector
2. Filter
Jquery supports chained operations
$("*").css("color","red").css("background-color","yellow");