i am getting error when calling webservice using javascript. the webservice is ok from local and from host:
for example:
runing from my local and call the webservice from localhost its ok:
$.ajax({
url: **'http://localhost/temp/tool/trading/19-get-sellet-item%20function.php',**
data: { 'dateFrom': fromDate, 'dateTo': toDate ,'sellerId': seller_id, 'pageNumber': pageNum} ,
type : "GET",
dataType: "json",
crossDomain: true,
async: true,
success: function(data) {
}
runing from my local and call to url from host its not:
$.ajax({
**url: 'http://dropshiptools.byethost7.com/tool/trading/19-get-sellet-item%20function.php'**,
data: { 'dateFrom': fromDate, 'dateTo': toDate ,'sellerId': seller_id, 'pageNumber': pageNum} ,
type : "GET",
dataType: "json",
crossDomain: true,
async: true,
success: function(data) {
}
thank for helping!