Bug Tracker

Changes between Initial Version and Version 2 of Ticket #3971


Ignore:
Timestamp:
May 2, 2009, 11:27:37 AM (11 years ago)
Author:
brandon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3971 – Description

    initial v2  
    11It would be useful to be able to use the .index() method to find the index of the  current element in a given set, rather than the current implementation (searching the current set for a given element), which forces the developer to do gyrations in order to find out a simple piece of info.
    22
     3{{{
    34jQuery.fn.index = function(elem){
    45
     
    1415
    1516};
    16 
     17}}}
    1718as per: http://groups.google.com/group/jquery-dev/browse_thread/thread/f5e07e2f81011d8b