I have a page in HTML and I need to replace the content inside tag
<style type="text/css">
</style>
injecting the content of another .css file hosted on the same domain.
Any idea how to do it in javascript?
<html>
<head>
<style type="text/css">
h1 {color:red;}
p {color:blue;}
</style>
</head>
<body>
<h1>A heading</h1>
<p>A paragraph.</p>
</body>
</html>