I'm getting the error "'parentNode' is null or not an object" when
using BlockUI (Latest version and latest Jquery). I'm also using
Microsoft AJAX.NET. I'm blocking on an element. The problem occurs on
the second time I call block. This is the line of code:

$(".grid").block({message:$("#prg")});

The error occurs in the 'install' function right here:

var node = msg.jquery ? msg[0] : msg;
        var data = {};
        $(el).data('blockUI.history', data);
        data.el = node;
        data.parent = node.parentNode; <--- ERROR OCCURS HERE

It seems that the 'node' variable is NULL. This happens because
'msg.jquery' reports true, however, there are no objects in the 'msg'.
Any ideas on this, I'm pulling my thin hair out. I make sure that I
unblock before I call block again.

Please help!!!! I'm behind schedule.

Mike

Reply via email to