Error in Template:
microtemplate.js:91 var _p=,print=function(){_p.push.apply(_p,arguments)};with(obj){
_p.push(‘
To interact with above HTML you will have to use root_element as a parent selector.
For example:
// here root_element is provided by default let some_class_element = root_element.querySelector(’.some-class'); some_class_element.textContent = “New content”;
‘);}return _p.join(’');
Don’t get it.
Can you share proper traceback and steps and version
i am setting a calendar for attendance on dashboard this error shwoing in console
could you explain how you did it
const container = root_element.querySelector(“#employee-content”);
container.innerHTML = <p class="text-muted">Loading all employees...</p>;
for your reference
this is occuring even without any code
no but my code is working now
1 Like