View Single Post
Old 12-05-2004, 10:40 AM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
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
sde is offline   Reply With Quote