Hi,

I am having a problem with jQuery().TransferTo complete:
The complete is only called the first time the method openWindow is
invoked, why?

This is the method invocation sequence
openWindow -> Success
closeWindow -> Success
openWindow -> alert "inside if, opening window..." Success
              complete: never gets invoked

Thanks for any help!!


        function openWindow(messageText) {
                if($('#window').css('display') == 'none') {
                        alert("inside if, opening window...");
                        $("#appendRow").TransferTo(
                                {
                                        to:'window',
                                        className:'transferer2',
                                        duration: 400,
                                        complete: function()
                                        {
                                                alert("complete..");
                                                jQuery('#window').show();
                                        }
                                }
                        );

                }
                $('#window').blur();
                return false;
        }


        function closeWindow(){
                $('#window').TransferTo(
                        {
                                to:'appendRow',
                                className:'transferer2',
                                duration: 400
                        }
                ).hide();
        }

Reply via email to