I got the following code:
<body>
<div class="header">
<div class="logo">
title of page goes here
</div>
</div>
<iframe src='sameserver.html'>
<script>
var pagetitle = 'page title';
</script>
</iframe>
</body>
Now how can i get the javascript var placed inside the logo div?
Is it even possible?
yes it is possible. You can do like this.