Hi Friends,

I am a newbie to Mootools and to this group. I am learning Mootools
and it has been a good ride so far. However I am stuck and would
appreciate any help on this matter. Here is a small piece of code that
is not working in IE6 & 7 (works fine with Firefox). I can create the
elements in IE using createElement and appendChild methods.

    var ajaxRequest = new Request.JSON({
        url: url,
        method: 'get',
        onSuccess: function(responseText) {
            responseText.each(function(game,index) {
            });
            // Lets build the table
            var gameLayout = new Element('div', {
                'id': 'gameLayout'
                });
            gameLayout.inject($('rghtWrkCntnr'));
        });
    });

Am I missing something? Please help

Thanks and Cheers
Sudheer



Reply via email to