Home >
Web Front-end >
JS Tutorial >
Jquery index() method obtains the index value of the corresponding element_jquery
Jquery index() method obtains the index value of the corresponding element_jquery
WBOY
Release: 2016-05-16 17:49:15
Original
1165 people have browsed it
index([subject]) method, return value: Number (counting from 0) index() method returns the index position of the specified element relative to other specified elements. Note: index() will return -1 if the element is not found.
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn