Tabs --- Uncaught TypeError: can't access property spli


Topic: Tabs --- Uncaught TypeError: can't access property "split" of null

ktakiya pro premium priority asked 3 years ago

Expected behavior

I wanted to default on the first tab.

Actual behavior Uncaught TypeError: can't access property "split" of null

Resources (screenshots, code snippets etc.)

var tabTriggerEl = document.querySelector('#menu-tabs'); var instance = mdb.Tab.getInstance(document.querySelector('#menu-tabs')); if (!instance) { instance = new mdb.Tab(tabTriggerEl); } instance.show()


ktakiya pro premium priority answered 3 years ago

the HTML is after ajax response data, so it will append to the HTML node and render it.


ktakiya pro premium priority answered 3 years ago


it has been resolved... closed


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: Mac
  • Browser: FF
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No
Tags