title: jQuery's .load() not working properly in Chrome browser
body: <p>I've tested it and it works in opera, safair, IE, and firefox. I've read several other stackoverflow posts and web entries explaining the problem and the most common answer has been to put it on a live server as chrome doesn't accept ajax functions locally. So I uploaded my code onto my godaddy server and it's still not working, or am I mis-understanding what a 'server' is? I thought servers simply meant upload it to my paid web hosting account.</p>
  
  <p>The second most common answer I found was to launch Chrome from Terminal with "--allow-file-access-from-files" argument. How exactly do I go about doing this, and this is a working solution when I'm trying to make an application that other chrome users can access while visiting my website?</p>
  
  <p>The relevant snippet of code that I am using is as follows, if it's relevant to this question: (basically, the height returns as 0 because the image has not loaded. This problem does not occur in any of the other browsers and I have tested this on my live website as well)</p>
  
  <pre><code>$("img").click(function() {
      $("#galleryImg").html("&lt;img src='images/full_size/" + selectedImg + "' alt='" + selectedImg + "' /&gt;");
      $("#galleryImg img").load(function() {
          var imgHeight = $(this).height();
          alert(imgHeight);
      });
  });
  </code></pre>