jquery script doesnt work after .load()
<p>Im just started yesterday with jquery/ajax. And im trying some things out, but I run into a wall.</p>

<p>I have an index file where I include my js script in this script I have two functions (see below)</p>

<p>In the index file I used include to include a php file that contains a table with some rows (rows from mysql). This included file I also use for the .load in my js script (mod/hoofdmenu.php).</p>

<p>One script is for changing the order of the rows by drag and drop, this works perfect.
Other script is for changing 1 row when you click a image (publish/unpublish). This script works also perfect. BUT when I run this script the first script (drag and drop) doenst work anymore. The 'publish/unpublish' script still works.</p>

<p>I think its because the $('#showdata').load('mod/hoofdmenu.php');
All advise/help is very much appreciated.</p>

<p>the includes js file:
<pre><code></p>

<pre><code>$(function() {
    $(".entry").live("click",function(event) {
    event.preventDefault();
    var id = $(this).attr("id");
    var dataString = 'id='+ id ;
    var parent = $(this).parent();
    $.ajax({
            url: "save.php",    
            type: "POST",       
            data: dataString,       
            cache: false,
            success: function (html) {  
                $('#showdata').load('mod/hoofdmenu.php');           
            }       
        });
    });
});
$(function() {
    $(".tbl_repeat tbody").tableDnD({
        onDrop: function(table, row) {
            var orders = $.tableDnD.serialize();
            $.post('mod/order.php', { orders : orders });
        }
    });

});
</code></pre>

<p></pre></code></p>
