jquery element not defined, but it used to skip it...
Posted
by pfunc
on Stack Overflow
See other posts from Stack Overflow
or by pfunc
Published on 2010-05-20T00:56:04Z
Indexed on
2010/05/20
1:00 UTC
Read the original article
Hit count: 227
jQuery
|JavaScript
I recently transferred a site to a new host. Reloaded everything, and the javascript that worked fine before is breaking at an element it can't find. $('#emailForm') is not defined.
Now, the #emailform isn't on the page, but it wasn't before either, and JS used to skip this and it would just work. Not sure why this is happening. Any clues?
© Stack Overflow or respective owner