JS Uncaught TypeError: Cannot set property 'innerHTML' of null

1,051 views
Skip to first unread message

PPRSD

unread,
Oct 4, 2011, 6:39:05 AM10/4/11
to reCAPTCHA
I am getting this error: Uncaught TypeError: Cannot set property
'innerHTML' of null, and cannot find a way to resolve it? Thsi is on
ALL Browsers, another descriptive error is from Safari: TypeError:
'null' is not an object (evaluating 'Recaptcha.widget.innerHTML="<div
id='recaptcha_area'>"+d+"</div>"')

Thanks

Dom Sekotill

unread,
Oct 11, 2011, 4:55:44 AM10/11/11
to reca...@googlegroups.com
The standard javascript widget doesn't work on XHTML pages. Serve the
page with MIME type set to text/html or write a custom widget for your
site.

Dom

levi...@gmail.com

unread,
Feb 18, 2014, 11:02:02 AM2/18/14
to reca...@googlegroups.com, ko...@gmx.co.uk
I have set my <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> but I still get this error...
How does it related to it anyway?
Reply all
Reply to author
Forward
0 new messages