Opened 12 years ago
Closed 12 years ago
#8434 closed bug (invalid)
Selector not working with XML string in IE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | core | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
IE does not return the entity nodes when using the jQuery( selector, [ context ] ). It will return the nodes if I don't include the context and use closest() instead.
Example in JS fiddle http://jsfiddle.net/ZuZpt/1/
JQuery Reference: http://api.jquery.com/jQuery/
Data:
<Entities> <Entity Key="Customers"> <ExtraData></ExtraData> <MultipleMatches /> </Entity> </Entities>
Code
// Works in FF, Chrome and not in IE $('Entity', rawXmlString) // Works in IE Only $(rawXmlString).closest('Entity') // Does not work in FF, Chrome, IE $(rawXmlString).find('Entity')
Desired Result:
["<Entity Key="Customers">..."]
Change History (1)
comment:1 Changed 12 years ago by
Component: | unfiled → core |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please look at: http://api.jquery.com/jQuery/#jQuery2
The signature description indicates that xml is not supported the way you are using it.