Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#877 closed bug (fixed)

$("#id", context) in another document misses id

Reported by: Dave Owned by: john
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by john)

I have a strange problem: I can't search an element in the parent.document by id:

This isn't working:

$('#bussyMessage',parent.document).size();

but if the element has a name it works:

$('div[@name="bussyMessage"]',parent.document).size();

And this works too:

parent.document.getElementById('bussyMessage');

Could this be a bug? Or am I doing something wrong?

michael

PS: using V 1.1.1, but I think it didn't work with older versions either...

Change History (7)

comment:1 Changed 13 years ago by joern

Description: modified (diff)

comment:2 Changed 13 years ago by john

need: Test Case

comment:3 Changed 13 years ago by john

Milestone: 1.1.3
Version: 1.1.1

comment:4 Changed 13 years ago by john

Description: modified (diff)
Milestone: 1.1.31.1.4
Version: 1.1.11.1.3

I can confirm that this still happens.

comment:5 Changed 13 years ago by john

Owner: set to john

comment:6 Changed 13 years ago by john

Resolution: fixed
Status: newclosed

comment:7 Changed 13 years ago by john

Fixed in SVN rev [2474].

Note: See TracTickets for help on using tickets.