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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:36:55+00:00 2026-05-24T01:36:55+00:00

Running a simple JQuery.get (Version 1.6.2) against a C# WCF Service which returns a

  • 0

Running a simple JQuery.get (Version 1.6.2) against a C# WCF Service which returns a list of values. The service is effectively cross domain so I have set the WCF service to handle the origin policy and that’s working fine.

What isn’t working is a simple get against the service.

$.get("http://localhost:4858/SomeService.svc/GetDepartments", function (response) {
        console.info(response);
        console.info(response.d);
}}, 'json');

The response object is different between Chrome and Firefox.

Chrome: [“Accounting”,”Maintenance”,”Supply”]

Firefox: ({d:[“Accounting”, “Maintenance”, “Supply”]})

Given that it comes from the same service I’m not expecting it to be different between browsers. Does anyone know why the above is happening and what the best method of handling it would be?

  • 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-24T01:36:56+00:00Added an answer on May 24, 2026 at 1:36 am

    It seems the XSS controls within the various browsers have everything to do with it.

    As we have multiple browsers in our environment I’ve changed tack and consolidated the endpoints under IIS and everything is working just fine once XSS is out of the way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm really new at this jquery stuff. I have a wcf web service running
I'm running a simple batch file which is generated by a vbscript to delete
I am learning jquery and I am having difficulty running the following extremely simple
I'm building a simple image gallery with jquery but running into an annoying problem.
Somehow, a simple form I have to sign up for a mailing list (which
I am using running a simple find all and paginating with willpaginate, but I'd
When I'm running a simple Ruby script, what's the easiest way to dump an
I am running django simple server via manage.py runserver. With a client code I
I am currently running a simple EJB application using a stateless Session Bean. I
I am running a simple DATEDIFF query but it doesn't seem to calculate the

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.