|
either way, use != instead of !==
also, maybe try to reference a form this way: ( this assumes you have the 'name' attribute set )
document.commentform.author.value.length
document.commentform.body.value.length
also, i just noticed you use .body.length and not .body.value.length ... you need .value in there too
__________________
Mike
|