I have an empty frame in my page, with src
set to '' (empty).
I also have a string like this:
<html>
<head>
<base src="http://www.example.com">
<title>Blah</title>
</head>
<body>
<p>Fancy web page</p>
</body>
</html>
I would like to populate the iframe with the string, so that the exact content of it matches the string.
What's the best way to do this? I am going insane trying to do it.