is that really an error? That shouldn't stop one of my validations to stop working ?
This is not a syntax error but rather a logical error. You can still compare the string "[object HTMLDivElement]" with other strings or check if its length is > 35 etc. ... but this is certainly NOT what you wanted to achieve, is it?