<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $.ajax({ type: "GET", url: "C:\Users\Owner\Documents\Development\javascripts\Mission.xml", dataType: "xml", success: parseXml }); }); //print the date followed by the title of each Mission function parseXml(xml) { $(xml).find("Mission").each(function() { $("#output").append($(this).attr("ID")"); $("#output").append("," + $(this).attr("OrgID")"); $("#output").append("," + $(this).attr("Name")"); $("#output").append("," + $(this).attr("Date")"); $("#output").append("," + $(this).attr("nTouched")"); $("#output").append("," + $(this).attr("HowTouched")"); }); } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)