How do I out put the JSON format for other website?
<p>How do I out put the JSON format for other website?
I wrote the code below. I've tried to retrieve the information from the JSON server but it didn't return anything back.</p>

<p>JSON SERVER</p>

<pre><code>&lt;%@ Page Language="C#" %&gt;
&lt;%@ Import Namespace="System" %&gt;
&lt;script runat="server"&gt;
    protected void Page_Load(object sender, EventArgs e)
    {
      //Response.ContentType = "application/json; charset=utf-8";
      Response.ContentType = "application/x-javascript; charset=utf-8";
      Response.AddHeader("Cache-Control", "no-cache");
      //Response.Expires = 0;
     // Response.AddHeader("content-disposition", "attachment;filename=" + Guid.NewGuid().ToString("N") + ".js");
    }
&lt;/script&gt;
({
 'color': 'blue',
            'animal': { 'dog': 'friendly' }
})
</code></pre>

<p><strong>calling JSON SERVER</strong></p>

<pre><code>  var testurl_a = "http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&amp;tagmode=any&amp;format=json&amp;jsoncallback=?"
var testurl_b = "http://www.xxxxxx.com/myaccount/jsonserver.aspx?tags=cat&amp;tagmode=any&amp;format=json&amp;jsoncallback=?"

$.getJSON(testurl_b, function (data) {
    alert("JSON Data from testurl_b"); //IS NOT WORKING
});

$.getJSON(testurl_a,function (data) {
        alert("JSON Data from testurl_a Result---&gt;&gt;&gt;"+ data.title); //IS WORKING
 });
</code></pre>
