Jun 29th, 2012, 06:38 PM
Can someone please tell me what is the cause of this error (see attached screen shot).
Jun 29th, 2012, 07: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, 11:43 PM
I removed the "value" and got the same error. No difference!
Jun 30th, 2012, 09:01 AM
How is boxdescription defined on your page?
Jun 30th, 2012, 09:24 AM
Is that IF statement helping you be cross-browser?
Why not use jQuery for that - it's really helpful in that regard.