getting the value of xml element from array of elements in jquery

Westkinunse

New Member
I get the array of xml nodes using jquery with the following code\[code\]var appointments = new Array();appointments = $($myXML).find('confirmationNumber');\[/code\]which returns me \[code\][<confirmationNumber>?NX0FH25P?</confirmationNumber>?, <confirmationNumber>?VX0MW251</confirmationNumber>?, <confirmationNumber>?VB0TH252?</confirmationNumber>?,<confirmationNumber>?VB0MH253</confirmationNumber>?]\[/code\]I want to retrieve the value of the following confirmation numbers as texts in array and I dont want to iterate the whole XML i tried appointment.text() and appointment.val(); but they didnt worked
 
Back
Top