Bug Tracker

Modify

Ticket #3410 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by flesler

  • Cc Billy, flesler added
  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.