well i try to pars xml string with jquery but i think i dont know how
i should do it

i do this for a try

        var xml="<student><name>ali</name> <age>20</age></student>";

        var r=$("/student/name", xml).text();
        alert(r);


and it alerts with an empty string
so i am sure this is wrong

but what is correct


sorry if such question has been asked before

Reply via email to