Alex Douglas Alex Douglas - 1 year ago 73
jQuery Question

"undefined is not a function" error when calling fadeOut()

jQuery(document).ready(function($) {

It just gives me this error:

Uncaught TypeError: undefined is not a function

Why? A
with an
of "hp-testimonials" exists on the page. I don't understand why it wont fade this

Answer Source

fadeOut() isn't a standard DOM method; it's part of jQuery. You're trying to call it on a DOM element.


jQuery(document).ready(function($) {
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download