Uncaught ReferenceError: WOW is not defined


Topic: Uncaught ReferenceError: WOW is not defined

lawrence tang pro asked 4 years ago

Expected behavior i downloaded the MDB-PRO_4.19.11 then i copy the code from here https://mdbootstrap.com/previews/docs/latest/html/intros/intro-register-classic-form.html

it suppose to have same view and feel

Actual behavior not working as the sample site checked dev console and it shows javascript error

Resources (screenshots, code snippets etc.) enter image description here


Marcin Luczak staff answered 4 years ago

Hi,

Please try to wrap your WOW init function with $(document).ready():

$( document ).ready(function() {
    new WOW().init()
});

This should fix your problem.

Regards, Marcin


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.1
  • Device: Laptop
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes