title: Jquery $.getJSON is not working Chrome and Firefox but it works in IE
body: <p>I'm trying to use yahoo wheather api in my site thus I wrote a simple script like below:</p>
  
  <pre><code>&lt;button&gt;show&lt;/button&gt;&lt;br /&gt;
  
  &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function(){
  var url='http://weather.yahooapis.com/forecastjson?w=2344116&amp;u=c';
  var query;
      $('button').click(function(){
          $.getJSON(url, function(json) {
          alert(json.units.temperature);
          });
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>It works IE (I'm getting the alert popup), but it doesn't work in chrome and firefox. Also, I validated JSON output;</p>
  
  <pre><code>{
      "units": {
          "temperature": "C",
          "speed": "km/h",
          "distance": "km",
          "pressure": "mb"
      },
      "location": {
          "location_id": "TUXX0014",
          "city": "Istanbul",
          "state_abbreviation": "*",
          "country_abbreviation": "TU",
          "elevation": 92,
          "latitude": 41.01,
          "longitude": 28.95
      },
      "wind": {
          "speed": 10,
          "direction": "NE"
      },
      "atmosphere": {
          "humidity": "34",
          "visibility": 9.99,
          "pressure": 1016,
          "rising": "steady"
      },
      "url": "http://weather.yahoo.com/forecast/TUXX0014.html",
      "logo": "http://l.yimg.com/a/i/us/nt/ma/ma_nws-we_1.gif",
      "astronomy": {
          "sunrise": "06:29",
          "sunset": "18:03"
      },
      "condition": {
          "text": "Fair",
          "code": "34",
          "image": "http://l.yimg.com/a/i/us/we/52/34.gif",
          "temperature": 9
      },
      "forecast": [
          {
              "day": "Today",
              "condition": "Mostly Sunny",
              "high_temperature": 8,
              "low_temperature": 2
          },
          {
              "day": "Tomorrow",
              "condition": "Mostly Cloudy",
              "high_temperature": 8,
              "low_temperature": 3
          }
      ]
  }
  </code></pre>
  
  <p>Any help will be appreciated.</p>
  
  <p>Best Regards.</p>
  
  <p>Osman.</p>