I have the following xml structure:
//xml
<ArrayofTech>
<TechJobs>a</TechJobs>
<TechJobs>b</TechJobs>
</ArrayofTech>
I would like to store in array the above TechJobs nodes xml like: Array.push(Techjobs). I have to store each TechJobs node into an array. How to parse this xml .The Code which i have tried is shown below:
$(xml).find("TechJobs").each(function () {
array.push($(this));
}
How to fix this?