Using JQuery inside a boxy modal
<p>I'm working on a site which has a modal window (using boxy) with a form. Inside document ready I have the following to load up the modal window:</p>

<pre><code>$("#confirm").boxy({title: "Title", modal: true});
</code></pre>

<p>Where the link is:</p>

<pre><code>&lt;a id="confirm" href="/confirm/"&gt;Confirm order&lt;/a&gt;
</code></pre>

<p>And this runs fine where /confirm/ loads up a new html in the modal window.</p>

<p>But in the modal window I want to do some JQuery manipulations. But even simple things don't work. For example:</p>

<pre><code>$("#link").click(function () {
  console.log('logging...');
});
</code></pre>

<p>Where "link" is the id on a link in the modal window, but when I click the link nothing happens. If I comment out the top and bottom lines (only have the console.log line it DOES log to the console...)</p>

<p>Everything works fine if I run this in a separate window. Am I missing something obvious?</p>

<p>Regards,
AndriJan</p>
