Question: How do i solve the *Parameter child must be non-null* error?  

I'm trying to remove instances (box1, box2, box3, box4) that have `.y <= 56`

The code follows:

```
for (i=1; i<=4; i++)
{
    this["Box" + i].addEventListener(Event.ENTER_FRAME, Move);
}

function Move(e:Event):void
{
    e.target.y -=  6;
    if (e.target.y <= 56)
    {
        removeChild(getChildByName(e.target.name));
        Comment.text = "MISS";
        miss +=  1;
        score +=  0;
    }
}

```

Answer: 
Try

```
$().validate({
    errorPlacement : function(error, element) {
        $('#errorct').append(error)
    }
})

```

demo: [Fiddle](http://jsfiddle.net/arunpjohny/XHDvS/)
@Arun answer work as intended. Too bad i find it too late. I made this to make it work before i found this thread. Use it if the Arun answer do not work for you. Make sure subscribe-error div is inside the form:

```
if( $('#email-error').length ) {
            var emailError = $('#email-error').clone();

            setTimeout( function(){
                $('#email-error').remove();
                emailError.appendTo( $('#subscribe-error') );
            }, 10);
        }

```