How to read all the child elements of an element using Jquery

grglaz

New Member
I have a XML file as follows. How can I read all the elements using Jquery. Note that I do not know the child element names when processing the file\[quote\]\[code\]<Skills> <Programming>Yes</Programming> <Networking>No</Networking> <ProjectMangement>Yes</ProjectMangement></Skills>$.ajax({ url: 'application_form.xml', dataType: "xml", success: parse, error: function(){alert("Error: Something went wrong");} });function parse(document){ $(document).find("Skills").each(function(i,e){ //here i want to get the name of all the child elements });}\[/code\]\[/quote\]
 
Back
Top