Topic: Popover return console error Cannot read property 'closest' of undefined

elmajed2007 free asked 3 years ago

Expect to display popover on click or on mouse over

Popover not displayed

also i want to ask should i use API javascript initialization new mdb.... etc for every component even if i want simple implementation without any customization ?

code snippet's working fine in your code snippet, but not working in my side, what i miss?I'm using visual studio 2019 community and installed mdb using npm then i referenced mdb.css and mdb.js and plugin.all.js files

please help me

Marcin Luczak staff commented 3 years ago


Please publish your snippet. It is inaccessible now.

Also, please create your support posts in proper technology categories pages. Jquery category page is for jQuery related questions only and as I can see you are referencing the Popovers from the standard (MDB5 - non jQuery) version.

Popovers in the MDB5 Standard technology can be initialized via Javascript or proper data-attributes. Pease see basic example reference

Keep coding,


Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.19.2
  • Device: computer
  • Browser: crome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: Yes