Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6037517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:05:10+00:00 2026-05-23T06:05:10+00:00

Here is my jQuery post request, how can i get back xml response, I

  • 0

Here is my jQuery post request, how can i get back xml response, I checked in fiddler the response is coming as my expected xml

Here is my jquery post

$.post("/csm/viewall.action",
  { sessiontoken:   sessiontoken },
      function(xml)
      {
            alert(xml);
      }
);

alert returns [object XMLDocument]

My xml

<list>
<com.abc.db.ConfigInfo>
<cfgId>83</cfgId>
<cfgName>test</cfgName>
<cfgDesc>test</cfgDesc>
<cfgType>test</cfgType>
<fileName>csmclientbenz.xml</fileName>
<absolutePath>../webapps/csm/files//1-105101/csmclientbenz.xml</absolutePath>
</com.abc.db.ConfigInfo>
<com.abc.db.ConfigInfo>
<cfgId>82</cfgId>
<cfgName>test1</cfgName>
<cfgDesc>test2</cfgDesc>
<cfgType>test1</cfgType>
<fileName>csmclientbenz.xml</fileName>
<absolutePath>../webapps/csm/files//1-105101/csmclientbenz.xml</absolutePath>
</com.abc.db.ConfigInfo>
<list>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:05:10+00:00Added an answer on May 23, 2026 at 6:05 am

    here is an informative post about parsing the xml with jquery

    http://www.switchonthecode.com/tutorials/xml-parsing-with-jquery

    you can read the xml as

    $(xml).find('com.abc.db.ConfigInfo').each(function(){
    var ths = $(this);
    var id= ths.find('cfgId').text();
    var name = ths.find('cfgName').text();
    ....//and so on
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's an example taken from http://docs.jquery.com/API/1.1/AJAX#.24.post.28_url.2C_params.2C_callback_.29 $.ajax({ type: POST, url: some.php, data: name=John&location=Boston, success:
Here's my jQuery: var docname = $('#doc').val(); function parseXml(xml) { $(xml).find(rsp).each(function() { alert(success); });
Here is my jQuery code: $.get('/Home/GetList', function(data) { debugger; $('#myMultiSelect').val(data); }); Here is my
I have my front end script which has the following jQuery code: $.get(/backend/post.php, {
I'm working on this jQuery Autocomplete thing and I can't get the item selected
I'm trying to make a post request via ajax using jQuery (for the BaseCamp
I am fetching 2 div's from a page using $.post jQuery AJAX request. Now
I'm trying to pass an array trough an Ajax POST request using jQuery. I
I'm using the jQuery Tag-It script, can be viewed here: http://levycarneiro.com/projects/tag-it/example.html The script originally
Say I have this <div id=x data-id='1' data-prop1='peace' data-prop2='out'>Text</div> in jQuery i can get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.