title: ASP.NET image src question
body: <p>I set the value of a image control via the following jquery code:</p>
  
  <pre><code>$('.image').click(function () {
      var imgPath = $(this).attr('src');
      var imgName = imgPath.substring(0, imgPath.length - 4);
      var imgAlt = $(this).attr('alt');
  
      $('#&lt;%= detailedImage.ClientID %&gt;').
          attr('src', imgName + '-large.jpg').
          attr('alt', imgAlt);
  </code></pre>
  
  <p>The picture shows up perfectly in the browser. However I cannot access it's <code>src</code> attribute:</p>
  
  <pre><code>string imgName = detailedImage.Src;
  </code></pre>
  
  <p><code>imgName</code> is always an empty string. Any suggestions?</p>