Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Thanked 14 Times in 14 Posts

    Error Troubleshooting

    I'm working with a chat box script called wordspew. And on certain pages, I'm getting an error/warning message of:

    document.getElementById("chatbarText") has no properties

    Can someone maybe explain what the error sort of means, and where I should be looking to fix it? Would it be css related? or maybe something within the various functions of the file?

    You can likely tell by my brief description that I'm pretty new at coding, thus not even sure where I should be looking to correct error.

  • #2
    Senior Coder
    Join Date
    Nov 2006
    Thanked 0 Times in 0 Posts
    It usually means that the getElementById function didn't find an element with the id="chatbarText" so it returned null. And the value null has no properties.

    Make sure there is an element with that id at the point you are making the call.



    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts