Instructions arent following the sequence jQuery
<p>Here is the code that i have been working on. Apparently the #layout call is executed first for some reason and it gives undefined as the value. </p>

<pre><code>$(function() {

    $(".left").load("PartsList.php", function() {
        alert("success");
    });

    $(".right").load("Custom.php", function() {
        alert("success");
    });

    $("#layout").children().on({
        click: function() {
            alert($(this).attr('id'));

        }
    });

});​
</code></pre>

<p>Thank you for your time :).</p>
