How to understand the length of elements in js

when you look at some plug-in source code, you often see $(document). Find (".dom") .length. Does the length here refer to the number of elements whose class is dom?

Jul.10,2022

$(document) returns a reference to document
$(document). Find ('.dom') returns an array of dom references
$(document). Find ('.dom'). Length is naturally the length of the array


find () method returns the descendant elements of the selected element. $(document). Find ('.dom'). Length refers to the number of elements whose class is dom

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaef51-221d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaef51-221d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?