i’m trying to create a tutorial with intro.js but it’s highlighting the wrong area,
here’s the code i’m using
document.addEventListener("DOMContentLoaded", function () {
if ('@Model.EC_Header.Encripted_ID' === "") {
var intro = introJs().setOptions({
showBullets: false,
steps: [
{
element: document.querySelector("#subclaim_tbl_div"),
intro: "Some intro",
position: "top"
}]
});
intro.start();
}
})
here’s the error
enter image description here