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 8034507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:02:19+00:00 2026-06-05T02:02:19+00:00

I have an ASP.NET webservice that returns JSON. Now, using jQuery I want to

  • 0

I have an ASP.NET webservice that returns JSON. Now, using jQuery I want to call this webservice and then loop though the results. But how?

I now have this:

jQuery.support.cors = true;
$().ready(function () {
    $.ajax({
        type: "GET",
        url: "http://www.wunderwedding.com/weddingservice.svc/api/?t=1&cid=1&pid=6&lat=52&lng=5&d=10000&city=nijmegen&field1=0&field2=0&field3=0&field4=0&hasphoto=0&hasvideo=0&minrating=0&lang=nl",
        data: "{}",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (msg) {
            // Hide the fake progress indicator graphic.
            $('#mytest').removeClass('loading');
            alert(msg.d);
            // Insert the returned HTML into the <div>.
            $('#mytest').html(msg.d);
        }
    });
  • 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-06-05T02:02:20+00:00Added an answer on June 5, 2026 at 2:02 am

    lets suppose your web method is returning an array of persons so in success method u can loop through it like:

    $.each(msg.d.Persons, function(index, Value)
    {
          firstName = msg.d.Persons[index].FirstName;
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET WebService that returns an object of List public class Students
I have an ASP.NET webservice method that returns a generics list (List'<'Construct>) serialized as
I have an ASP.NET WebService that supports standard WSDL based SOAP calls and a
I have an ASP.NET website that is contacting a webservice. Everything works fine connecting
I have an ASP.net web service that I'm using for a web application which
I have an asp.net MVC2 application that needs to call a web service from
I'm developing an asp.net webservice application to provide json-formatted data to a widget that
I have an asp.net asmx webmethod that returns the following response: <?xml version=1.0 encoding=utf-8?>
I have an ASP.NET webservice (.asmx) with a simple method that reads something from
I have a webservice that I am testing. When I use the personal asp.net

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.