im using this tutorial
but it only seems to work in FF, chrome and IE gives errors
does anyone know why this is?
- $(document).ready(function()
- {
- $.ajax({
- type: "GET",
- url: "jquery_xml.xml",
- dataType: "xml",
- success: parseXml,
- error: err
- });
- });
- function err(xhr, reason, ex)
- {
- $('#output').append(reason);
- }
- function parseXml(xml)
- {
- $(xml).find("Tutorial").each(function()
- {
- $("#output").append($(this).attr("author") + "<br />");
- });
- }