__________________________________________________ __________________________
I have this code:
===================================
<html>
<body>
<a href="javascript:additem('P37L5001')">P37L5001</a>
<iframe id="items" height="97%" width="100%"></iframe>
</body>
<script>
var thing = document.getElementById('items')
function additem(itemcode)
{
thing.document.write(itemcode)
}
</script>
</html>
======================================
And I get this error:
items.document has no properties
but in internet exploder, it works fine.....
i highly perfer firefox (please no comments on that) and cannot use IE
anyway.
I am having a brain fart, so can someone please help me?
TYVM in advance