I’m trying to post login and password to the other website through jquery I tried all ways,jquery post,jquery get and the old method whith using XMLHttpRequest but nothing worked ! Every time when I tried to read(I mean to get or to post) from the other websites I was getting error in firebug
Connection close Content-Type text/html; charset=UTF-8 Date Mon, 11
Feb 2013 22:20:29 GMT Server Apache Transfer-Encoding chunked
X-Powered-By PHP/5.3.3
but when I tried to read from the pages on my server I could get the html of them. the problem appeared while using website url to get the file.
Who know how to solve such kind of problem,please help
You must be aware that ajax calls to other domains is restricted by most of the browsers. Others, in order to do such due to some other valid reason of doing so, uses third party js libs to execute this CROSS-DOMAIN requests / calls.