XML : jQuery - Get Content from an XML Page and save to a variable

I am trying to get the content of an XML Element into a variable:

  <ContactPresence>  <ContactUri>test.com</ContactUri>  <PresenceState>offline</PresenceState>  </ContactPresence>    

How can I get "PresenceState" into a variable?

No comments:

Post a Comment