I'm having trouble appending a get() to a dynamically created div. I've marked with a comment the code that's giving me trouble. Can someone please take a look and see what's wrong with it?

```
var weekday = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],
        today = new Date().getDay(),
        list = $('ul.yui-nav');

    for(var x=0;x<=6;x++){
        $('#' + weekday[x]).hide();
        list.append(
            $('<li></li>', {
                html : '<a href = "#' + weekday[x].toLowerCase() + '">' + weekday[x] + '</a>'
            }).toggleClass(function(){
                if(today == x){
                    return 'selected';
                }
            }).bind('click', function(e){
                e.preventDefault();
                $(this).parent().children('li').removeClass('selected');
                $(this).addClass('selected');
                $('#' + weekday[x]).hide();
                $('#' + weekday[x]).show();
            })
        );

                    // the 5 lines below is where I'm having trouble
        $('div.yui-content').append(
            $('<div class="content" id="' + weekday[x] + '"></div>').append(
                $.get('index.php')
            )
        );

    }

```