when I am using KTUtil.getById in "Metronic 8" it responses with :
Uncaught TypeError: KTUtil.getById is not a function
at initValidation (login.js:25:63)
at Object.init (login.js:13:9)
at HTMLDocument.<anonymous> (Login:146:33)
at mightThrow (plugins.bundle.js:3766:29)
at process (plugins.bundle.js:3834:12)
Hi,
In Metronic v8 you can use native javascript API to get elements by id:
var element = document.querySelector("#my_element");
element = document.getElemenetById("my_element");
src/js/custom/authentication/sign-in/general.js
It Works
Thanks a lot
Great! If you need any further help please do let us know.