title: jQuery colorbox outside HTML with inline call
body: <p>How can I get a response (for example a submit button) from a colorbox?</p>
  
  <p>index.html</p>
  
  <pre><code>$(document).ready(function(){
  
      $(".myclass").colorbox({width:"75%", height:"75%"});
  
      $('#btn').click(function(){
         $("#test").val("it works!");
      });
  });
  
  &lt;body&gt;
      &lt;a class='myclass' href="1.html"&gt;Click to show the Colorbox&lt;/a&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>1.html</p>
  
  <pre><code>&lt;input type="text" id="test"&gt;
  &lt;input type="submit" id="btn"&gt;
  </code></pre>
  
  <p>When I click on the submit button, nothing happens. How can I call the content of the colorbox and change the content?</p>