title: Error : no response while calling php web service from java script
body: <p>i have this script with me which calls a php webservice </p>
  
  <blockquote>
    <p>
                $(document).ready(function(){</p>
  
  <pre><code>        });
          function sendPushNotification(id){
              var data = $('form#'+id).serialize();
              $('form#'+id).unbind('submit');                
              $.ajax({
                  url: "send_push_notification_message.php",
                  type: 'GET',
                  regId: data,
                message: data,
                  beforeSend: function() {
  
                  },
                  success: function(data, textStatus, xhr) {
                        $('.push_message').val("");
                  },
                  error: function(xhr, textStatus, errorThrown) {
  
                  }
              });
              return false;
          }
      &lt;/script&gt;
  </code></pre>
  </blockquote>
  
  <p>sendPushNotification function:</p>
  
  <pre><code>&lt;?php
   require_once('loader.php');
  
      $gcmRegID    = $_GET["regId"]; // GCM Registration ID got from device
      $pushMessage = stripUnwantedHtmlEscape($_GET["message"]);
  
  
      if (isset($gcmRegID) &amp;&amp; isset($pushMessage)) {
  
  
          $registatoin_ids = array($gcmRegID);
          $message = array("price" =&gt; $pushMessage);
  
          $result = send_push_notification($registatoin_ids, $message);
  
          echo $result;
      }
  ?&gt;
  </code></pre>
  
  <p>i am trying to pass certain values through a php page but when i try to pass values through the web page , nothing happens..
  can anyone tell me the problem here ? help appreciated. thanks.</p>