title: How to post a data to another server by simple javascript only and get the return value?
body: <p>Need a cross domain post javascript format that return the search value. The total thing need to be done without using any external library and only with javascript.</p>
  
  <p><strong>Example:</strong> 
  My server domain1.com
  Want to post data to <em><code>domain2.com/searchTableInfo1</code></em> with json data like <code>{data1:'info1', data2:'info2', data3:'info3', data4:'info4', ......}</code> (like searching a table with some params) in return I want to get the search result in json too.</p>