title: How to make cross domain request using ajax or javascript?
body: <p>I have some Pre built script that makes some ajax request to one website. And it's working fine. But I am not able to make request to there some domains.</p>
  
  <p>My working Process:-</p>
  
  <p>1) I have pre built script on <a href="http://www.Test.com/a.js" rel="nofollow">http://www.Test.com/a.js</a> now i am calling this js in this domain <a href="http://www.test1.com" rel="nofollow">http://www.test1.com</a> by pasting the code to URL and it's working fine.</p>
  
  <p>2) Now When I want to call one page from This <a href="http://hello.test1.com/as.php" rel="nofollow">http://hello.test1.com/as.php</a> but it's showing some errors. How could i make request to subdomain page from main domain page.</p>
  
  <p>Please let me know how can i do this.</p>
  
  <p>Thanks in advance.</p>