Added support for the new .andSelf() method. This method combines the previous...
Added support for the new .andSelf() method. This method combines the previous two matched sets on the stack into a single stack.
For example:
$("#foo").parent();
// => [ #bar ]
$("#foo").parent().andSelf();
// => [ #bar, #foo ]
Showing
Please register or sign in to comment