Title: TypeError : document.getElementById(&#039;loginform&#039;)&#8230;. is undefined
Last modified: August 21, 2016

---

# TypeError : document.getElementById('loginform')…. is undefined

 *  [JeremyCh](https://wordpress.org/support/users/jeremych/)
 * (@jeremych)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/typeerror-documentgetelementbyidloginform-is-undefined/)
 * Hi guys
 * I was trying simplemodal login, and found this in the error console:
 * TypeError : document.getElementById(‘loginform’).childNodes[1].childNodes[1] 
   is undefined.
 * When I clicked there, I found that the corresponding line is : document.getElementById(‘
   loginform’).childNodes[1].childNodes[1].childNodes[0].nodeValue = ‘Email’;
 * Any idea anyone ?
    Thanks.
 * [https://wordpress.org/plugins/simplemodal-login/](https://wordpress.org/plugins/simplemodal-login/)

The topic ‘TypeError : document.getElementById('loginform')…. is undefined’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simplemodal-login.svg)
 * [SimpleModal Login](https://wordpress.org/plugins/simplemodal-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simplemodal-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simplemodal-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simplemodal-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simplemodal-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simplemodal-login/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [JeremyCh](https://wordpress.org/support/users/jeremych/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/typeerror-documentgetelementbyidloginform-is-undefined/)
 * Status: not resolved