95 Target HTML elements with jQ Selectors -- 3 ways:

95 Target HTML elements with jQ Selectors -- 3 ways:
0.0 0

#1

SUMMARY
Do I understand this correctly?

  1. $(“button”) = This is a FORM ELEMENT selector.

  2. $(".btn") = This is a CSS CLASS selector.

  3. $("#target1") = This is an ID-ATTRIBUTE or LABEL selector.

Yes? But there is a 4th way, right?

  1. #(“bounce”) = This is a FUNCTION selector.

Thanks for your help. _/ _


#2

If you understand the Html DOM three, you will understand how jQuery selector world as well. For instance $("#myId").children() selects all children if myId element