Ajax cross-domain request with JSONP
<p>I am using JSONP in order to make a AJAX Cross domain call as following:</p>

<pre><code> $(document).ready(function () {
          $("#btnWCFREST").click(function () {
          $.ajax({
                  type: "GET",
                  url: "http://localhost:1415/MyService.svc/rh/data?id=4&amp;callback=mycallback",
                  processData: false,
                  dataType: 'jsonp',
                  jsonpCallback: 'mycallback',
                  jsonp: 'callback'


              });


          });
      });

      function mycallback(data) {
          alert(data);
      };
</code></pre>

<p>I am not getting any response. Could anybody help me in order to resolve the issue? What is wrong with the call?</p>

<p>I have changed the call as following still no luck:</p>

<pre><code> $(document).ready(function () {
          $("#btnWCFREST").click(function () {
                 var url = "http://localhost:1415/MyService.svc/rh/data?id=4";
                  $.getJSON(url + "?callback=?", null, function(data) {
                    alert(data);
                });
         });
      });
</code></pre>
