Modify ↓
Ticket #3410 (closed bug: invalid)
Was Working - Now fails
| Reported by: | Billy | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | unfiled | Version: | 1.2.6 |
| Keywords: | Cc: | Billy, flesler | |
| Blocking: | Blocked by: |
Description
XML Document <?xml version="1.0" encoding="utf-8"?> <customer>
<name>Braveheart</name>
</customer>
jQuery Code $.ajax({
url: '../x/document.xml', type: 'GET', dataType: 'xml', timeout: 1000, error: function(){
alert('Error loading XML document');
}, success: function(xml){
alert('Do something with the XML'); alert($("customer/name", xml).text());
}
});
Was working 1.1.2 and is now broken (No data displayed) in 1.2.6pack
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

The / selector is deprecated. Use > instead. You should read the documentation about "How to update" before creating tickets.