Issue with jquery.load()
<p>This is probably something really obvious but I'm new to jquery so don't know what the problem is.</p>

<p>I'm making a simple forum (to see if I can) using php/jquery/html etc. When it's first opened it displays a list of the forums (works fine) and empty boxes(divs) for the other content. When you click on a forum from the list it calls showForum(id) and puts up an alert (just so i know it's working) and that loads a list of the threads in the forum into an empty div (works fine). The problem is when I try to load a thread (by clicking on it), nothing happens, not even the alert.</p>

<p>Jquery code:</p>

<pre><code>$(document).ready(function() {
    $('.flink').click(function() {
        var id = $(this).attr('id');
        showForum(id);
        alert("Forum opened");
    });                    

    $('.tlink').click(function() {
        var id = $(this).attr('id');
        showThread(id);
        alert("Thread opened");
    }); 
});

function showForum(id) {
    $('.topic-container').load("showforum.php", {
    'f': +id
    });
    showLinks(id, 1);
}

function showThread(id) {
    $('.entry-container').load("showthread.php", {
    'thread': +id
    });
    showLinks(id, 2);
    alert(id);
}
</code></pre>

<p>HTML code:</p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;
            Title
        &lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;table class="out-table"&gt;
            &lt;tr&gt;
                &lt;td rowspan="6" class="side-menu"&gt;
                    &lt;table class="side-header"&gt;
                        &lt;?php  // Code to get stuff from DB, flinks are created in here. tlinks are created with more php in showforum.php ?&gt;
                    &lt;/table&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;
                    &lt;div class="topic-container"&gt;
                    &lt;/div&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;
                    &lt;div class="top-links"&gt;
                    &lt;/div&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;
                    &lt;div class="entry-container"&gt;
                    &lt;/div&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I've checked the classnames to make sure that they're right. I made clicking on a forum open call showThread (just to make sure the function worked) and it worked fine.</p>

<p>Any help anyone can give will be greatly appreciated.</p>
