Jquery Ajax working on localhost (xammp) but not working on Server (cpanel)?

Jquery Ajax working on localhost (xammp) but not working on Server (cpanel)?

Jquery Ajax working fine on localhost (xammp) but not working on Server (cpanel) ! 

also ajax with Javascript working fine , but throught JQuery it has problem ! (on server) i changed send method to POST but problem same.

this is my website : concert20.ir

an this is js code:

  • var arr=[];
    1. function func1(id,status){
    2.         var str;
    3.         var a=id.split('-');
    4.         // a[0] = chair number
    5.         // a[1] = singer id
    6.         // a[2] = place
    7.         length=arr.length;
    8.         if(status=='رزور شده')
    9.         {
    10.             // check that who resereved it?
    11.             var index=jQuery.inArray(parseInt(a[0]), arr);
    12.             if(index>=0)
    13.             {
    14.                 // unreserved ...
    15.                 //arr[index]=-1;
    16.                 arr.splice(index, 1);
    17.                 length=arr.length;

    18.                 $.ajax({
    19.                     url: 'ServerReply.php', 
    20.                     type: "GET",
    21.                     data: ({reservefunc:0,chairnum:a[0],singerid:a[1],place:a[2]}),
    22.                     success: function(result){
    23.                         $("#drawtable").html(result);
    24.                     }
    25.                 });

    26.                 if(length==0)
    27.                 {
    28.                     $.ajax({
    29.                     url: 'ServerReply.php', 
    30.                     type: "GET",
    31.                     data: ({showdetails:0,chairnum:arr,singerid:a[1],place:a[2]}),
    32.                     success: function(result){
    33.                         $("#card").html(result);
    34.                     }
    35.                 });
    36.                 }
    37.                 else
    38.                 {
    39.                     $.ajax({
    40.                     url: 'ServerReply.php', 
    41.                     type: "GET",
    42.                     data: ({showdetails:1,chairnum:arr,singerid:a[1],place:a[2]}),
    43.                     success: function(result){
    44.                         $("#card").html(result);
    45.                     }
    46.                 });
    47.                 }
    48.             }
    49.         }
    50.         else if(status=='قابل خرید')
    51.         {

    52.             // reserve ...
    53.             arr.push(parseInt(a[0]));

    54.             $.ajax({
    55.                 url: 'ServerReply.php', 
    56.                 type: "GET",
    57.                 data: ({reservefunc:1,chairnum:a[0],singerid:a[1],place:a[2]}),
    58.                 success: function(result){
    59.                     $("#drawtable").html(result);
    60.                 }
    61.             });  


    62.             sts=$("input#checksts").val();
    63.             if(sts==-1)
    64.             {
    65.                 var index=jQuery.inArray(parseInt(a[0]), arr);
    66.                 arr.splice(index, 1);
    67.                 alert('این صندلی قبلا خریداری شده است');
    68.             }
    69.             length=arr.length;
    70.             if(length==0)
    71.             {
    72.                 $.ajax({
    73.                     url: 'ServerReply.php', 
    74.                     type: "GET",
    75.                     data: ({showdetails:0,chairnum:arr,singerid:a[1],place:a[2]}),
    76.                     success: function(result){
    77.                         $("#card").html(result);
    78.                     }
    79.                 });
    80.             }
    81.             else
    82.             {
    83.                 $.ajax({
    84.                     url: 'ServerReply.php', 
    85.                     type: "GET",
    86.                     data: ({showdetails:1,chairnum:arr,singerid:a[1],place:a[2]}),
    87.                     success: function(result){
    88.                         $("#card").html(result);
    89.                     }
    90.                 });
    91.             }
    92.         }   
    93. }