I. Operation of the JQuery class array
Introduction to class arrays
-Multiple DOM objects encapsulated by the JQuery object
-Class: Refers to a similar
-Has its own unique method of operation
Operation of an array of classes
-Length Property
-Each (FN) iterates through an array of classes and FN is used to process DOM objects. In FN, this represents the DOM object that is being traversed. The DOM object to which the FN function is being traversed. The FN function can add a parameter I to represent the subscript of the DOM object being traversed (starting at 0)
-eq (Index): Remove the DOM object with the subscript equal to index
-Get (): Returns an array consisting of a DOM object
-Index (OBJ): Returns the subscript of a DOM or jquery object in an array of classes
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7E/72/wKioL1cAsgPQ9MQnAAAjtFo6Pm8115.png "title=" Web.png "alt=" Wkiol1casgpq9mqnaaajtfo6pm8115.png "/>650" this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/ 7e/76/wkiom1casysyqgffaaa7zexncz8613.png "title=" Web.png "alt=" Wkiom1casysyqgffaaa7zexncz8613.png "/>
Summary: This chapter mainly describes the operation of the JQuery class array
This article from the "Flying Ants" blog, declined to reprint!
JavaScript jQuery-6 operation of the JQuery class array