title: Why Iframe not loading for the second time?
body: <p>I am trying to load a website by using <a href="http://fancybox.net/" rel="nofollow">fancybox Iframe</a> with a click of a button and it works pretty well for the first time and when trying to load for the second time it dosent work.</p>
  
  <p>And If I try to remove the button as well as the <code>ahref</code> from the content template and put it outside then Iit shows me a blank Iframe and the rest of the code works fine.
  Here is my code:</p>
  
  <pre><code>   &lt;script type="text/javascript"&gt;
      $(document).ready(function () {
  
          $("#various3").fancybox({
              'width': '75%',
              'height': '75%',
              'autoScale': false,
              'transitionIn': 'none',
              'transitionOut': 'none',
              'type': 'iframe'
          });
  
          $('#&lt;%=txtWebsiteAddress.ClientID%&gt;').change(function () {
              $('#various3').attr('href', $(this).val());
          });
  
  
          $("#&lt;%=btnShowThumbnailImage.ClientID %&gt;").click(function () {
  
              $("#various3").trigger('click');
  
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>This is my markup:</p>
  
  <pre><code>    Width:&lt;asp:TextBox ID="txtWidth" runat="server"&gt;320&lt;/asp:TextBox&gt;
      Height:&lt;asp:TextBox ID="txtHeight" runat="server"&gt;240&lt;/asp:TextBox&gt;
  
  
      &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
      &lt;ContentTemplate&gt;
      &lt;li&gt;&lt;a id="various3" href=""&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;asp:Button ID="btnShowThumbnailImage" runat="server" Text="Button" OnClick="btnShowThumbnailImage_Click" /&gt;
      &lt;asp:Image ID="imgWebsiteThumbnailImage" runat="server" Visible="false" /&gt;
      &lt;asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0"&gt;
      &lt;ProgressTemplate&gt;
      &lt;img src="images/Loader.gif" alt="loading" /&gt;
      &lt;/ProgressTemplate&gt;
      &lt;/asp:UpdateProgress&gt;
      &lt;/ContentTemplate&gt;
      &lt;/asp:UpdatePanel&gt;
  </code></pre>