How can javascript type=text/html be introduced through src?

you want to store common blocks of html code in a separate location, but you can"t introduce them like
< script src= ".. / view1/view1_tool.html" type= "text/html" id= "toolbarDemo" > < / script >
when needed.

clipboard.png

May.29,2021
Menu