Bug Tracker

Custom Query (13852 matches)


Show under each result:

Results (76 - 78 of 13852)

Ticket Resolution Summary Owner Reporter
#82 fixed .get() issues Abdur-Rahman Advany

The current code in the base only gives back an normale object instead of the handy methods...

The old code:

return i == null ? this.cur : this.cur[i];

replaces by:

return i == null ? $(this.cur) : $(this.cur[i]);

seem to work fine.

#10977 fixed Incorrect documentation for the index method? Rick Waldron [email protected]

You have the following documentation for index with no parameters:

If no argument is passed to the .index() method, the return value is an integer indicating the position of the first element within the jQuery object relative to its sibling elements.

But if you run this jQuery:


Against this HTML:

    <li class="selected">First Item</li>
    <li class="disabled">Second Item</li>
    <li class="separator">Third Item</li>
    <li>Fourth Item</li>

It returns 3 instead of 0. You can see that the selector will find two elements (the first and last LI), but it returns the index of the last element, when your documentation says it will return the index of the first.

Can be seen in this fiddle: http://jsfiddle.net/Zf9Vv/

#9464 invalid Dom load issues with version 1.5 - 1.6.1 except 1.6 Abhishek Kushwaha Abhishek Kushwaha

Dom load issues with version 1.5 - 1.6.1 except 1.6

Note: See TracQuery for help on using queries.