Jun 29th, 2012, 05:38 PM
Can someone please tell me what is the cause of this error (see attached screen shot).
Jun 29th, 2012, 06:01 PM
The if(document.getElementById) you have - what is that supposed to do??
Are you trying to see if "boxdescription" exists as an element?
If so you would want to do if(document.GetElementById("boxdescription")) instead.
But regardless - that error is saying that .innerHTML is not an object on what is to the "left of it".
Jun 29th, 2012, 10:43 PM
I removed the "value" and got the same error. No difference!
Jun 30th, 2012, 08:01 AM
How is boxdescription defined on your page?
Jun 30th, 2012, 08:24 AM
Is that IF statement helping you be cross-browser?
Why not use jQuery for that - it's really helpful in that regard.