jQuery: The Write Less, Do More JavaScript Library

Ticket #168 (closed bug: fixed)

Opened 2 years ago

Last modified 1 year ago

sibling() returns siblings and the subject

Reported by: jon@… Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.0 Component: core
Version: 1.0 Keywords: DOM sibling siblings
Cc: Needs:

Description

JavaScript: $('span#callMe').siblings();

HTML: <div><span id="callMe">Text 1</span><span>Text 2</span></div>

Returns: [<span id="callMe">,<span>]

Should only return [<span>]

Attachments

Change History

Changed 2 years ago by joern

Added a test for this to SVN, the problem still exists. FF fails on 2 of 3 tests, IE fails completly.

Changed 2 years ago by joern

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN, tested in FF 1.5, IE6 and Opera 9.01

Note: See TracTickets for help on using tickets.