Opened 10 years ago
Closed 10 years ago
#13673 closed feature (wontfix)
some proposals on method "index"
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
1) .index( selector ) - add variant in which elements set precedes method call; i.e. now it works $("li.myClass").index("li"), and suggested variant - $("li").index("li.myClass"); 2) .index (element) - update this variant to allow elements array; i.e. now it works $("li").index(document.getElementsByClassName("myClass")[0]), and updated variant - $("li").index(document.getElementsByClassName("myClass")) (only first element of array would be considered)
Sorry for my english :)
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Thanks for the contributions! jQuery will not be adding or modifying the API surface in the foreseeable future
Note: See
TracTickets for help on using
tickets.
My first proposal has to be removed due to the same method signature