This is my element:
I want to add something between like this:
This is my process so far:
const p = document.createElement('var') p.setAttribute('mathquill-command-id', '56') this.p.value = 'HERE' this.main.append(p)
this.main is the parent element.
But it looks like .value does not work. I got the idea to use .value from how textbox element works.
Do something like this:
p.innerHTML = 'HERE'
Answered By – Arthur Medeiros