title: how to set jsonp callback in retrieving restful web service data via jquery
body: <p>I have asked a question regarding invalid label on firebug which happens when I try to retrieve data from my restful web service. Most of the answers I received was about setting a callback function. but I can't seem to get the right juice from it. can you show me an exact code on how to do it? or atleast correct the code here:</p>
  
  <pre><code>        type: "GET",
          cache: false, 
          contentType: "application/json; charset=utf-8",
          dataType: "jsonp",
          processdata:true,
          jsonp: false, jsonpCallback: "success",
          url: 'http://localhost:8732/Service1/data/10',
  
          success : function success(data) {
              jsonResponse = eval("(" + data + ")");
              alert(jsonResponse)
          },
          error : function(req,status, ex) {
  
              alert(ex);
          }
  </code></pre>
  
  <p>Thanks,</p>