Jquery JsonP - Callback undefined error

Jquery JsonP - Callback undefined error

Dear All,


I am calling my server side page using JSONP to get the values from server and it looks like


Server side code:(asp.net)

"getResponse({""Name"": ""Foo"", ""Id"" : ""1234"", ""Rank"": ""7""});"


Client side looks like:
 
  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>


  $.getJSON("http://mydomain.com/temp/getjsonpcode.aspx?format=jsonp&callback=?", function(data) {
            alert(data.items);
        });


and am getting below error :


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Tue, 14 Aug 2012 03:30:32 UTC

 
Please help and its urgent for me to get values from the server and both are in  same server but different domain.