$.get in Jquery problem -


I'm trying to use $ ajax (restful service) call $$. It works perfectly in IE but gives '401 unauthorized' in case of Firefox.

At first I thought this was an 'NTLM authentication' issue and tried to add the domain (easy to serve - eg: config -> network.automatic-ntlm-auth. Trusted-uris) but no success.

I'm sure this is not an NTLM issue, just as the Firefox is entering the same URL (cool service) in the browser

Update:

/ H3>

I think this was due to the 'cross domain' issue because the SAC has mentioned. I have another doubt w.r.t JSONP, the service I am using does not support additional parameters in the URL. But if I want to use JSONP callback, then I have to add "callback =" is there a way for the URL that I can get it.

By your comment:

If my server is on ABC Xyz .domain.com, I'm trying to access data from efg.xyz.domain.com. I also closed this server, but the same error

abc.xyz.domain.com and efg.xyz.domain.com < / Code> are different domains:

In computing, the same basic policy is an important security concept for many browser-side programming languages, such as JavaScript As the policy proceeds from the same site to reach each other's methods and properties with special restrictions Make script permits plying on pages, but most of the pages on various sites have ways and prevents access to properties.

You may have to take a look to revolve around it.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -