Reputation: 36411
I have a <p></p>
and I want to put a text inside it a text that a JS variable holds,
is it possible to put a <script>
inside the <p>
and just write it there, without using any kind of DOM searching (not even innerHTML)?
Upvotes: 0
Views: 32