Hi,

I'm using jQuery 1.26 and blockui 2.10. Occured on Opera 9.61.

Problem listed below. My function in javascript:

function doRegister()
{
        try
        {
                $.blockUI(
                {
                        overlayCSS :
                        {
                                opacity : '0.5',
                                filter : 'alpha(opacity=50)'
                        },
                        message: $('#ajaxIndicator'),
                        css:
                        {
                                'border' : '1px solid #fff',
                                'font-family' : 'Tahoma',
                                'font-size' : '11px',
                                'font-weight' : 'bolder',
                                color : '#e0e0e0',
                                height : '120px',
                                width: '380px',
                                'background-color': '#303030'
                        }
                });

                $.ajax(
                {
                        type: "POST",
                        url: "./action/doRegister.php",
                        data:
                        {
                                email: ...
                                pwd: .....
                        },
                        success: function(data)
                        {
                                  ..................
                        }
                });

                $.unblockUI();

        }
        catch(e)
            {
                    $.unblockUI();
                    alert(e);
}

}

After few calls of this function (completed with success) I receive
the following error each time I call doRegister():

<localhost>

[Error:
name: TypeError
message: Statement on line 133: Cannot convert undefined or null to
Object
Backtrace:
  Line 133 of linked script 
http://localhost/wepps/www2b/jquery/jquery.blockui.js:
In function install
            data.parent = node.parentNode;
  Line 23 of linked script http://localhost/wepps/www2b/jquery/jquery.blockui.js
    function(opts) { install(window, opts); }
  Line 6 of linked script http://localhost/wepps/www2b/js/register.js:
In function doRegister
                $.blockUI(
  Line 1 of function script
    doRegister();
  ...
]


What can I do with this? Is this Opera bug or blockUI?

Thanks a lot in advance,
Best regards

Reply via email to