0
Document.write The return
can I use this following code in js and HTML: document.write("<button onclick='function()'>sentence </button> ???
1 Answer
+ 7
yes but it is better to use
.innerHTML method instead of .write
can I use this following code in js and HTML: document.write("<button onclick='function()'>sentence </button> ???