Opened 13 years ago
Closed 13 years ago
#6244 closed bug (wontfix)
function attr
Reported by: | rilinor | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | attributes | Version: | 1.4.2 |
Keywords: | attr | Cc: | |
Blocked by: | Blocking: |
Description
In IE this code returns 'undefined': alert($('test2', '<test1><test2 abc="123"></test2></test1>').attr('abc')); But this one returns '123': alert($('test2', '<p><test2 abc="123"></test2></p>').attr('abc'));
Is it a bug or a feature?
p.s. In firefox both of them return '123'
Note: See
TracTickets for help on using
tickets.
Well, you're putting custom elements inside other custom elements - which isn't built correctly in Internet Explorer (it has trouble interpreting custom elements within that context). That is a universal problem with Internet Explorer and not something that we can readily fix.