我得到了下面的代碼:得到iframe和地方在父母DIV的JavaScript變種
<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>
現在我怎樣才能放置標誌DIV中的JavaScript變種? 它甚至有可能嗎?
你想放'Inside標識pagetitle'變量DIV? – 2619
是的,如果有可能:) – Bertjuhh