Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 13852)

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

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]
Description

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:

alert($("li:not(.disabled,.separator)").index());

Against this HTML:

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

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
Description

Dom load issues with version 1.5 - 1.6.1 except 1.6

Note: See TracQuery for help on using queries.