hi I have a problem with nested div tags, folling is the code.
<html>
<head>
function open()
{
document.getElementById('middle').innerHTML='<object type="text/html" data="jsp/client/administration.htm" width="600" height="500"></object>';
}
</script>
</head>
<body>
<div id='top'><a href="#" onClick="open()">open</a></div>
<div id='middle'></div>
<div id='foot'></div>
</body></html>
now the problem is i am opening a html file in middle div tag using object reference in javascript.
But inside administration.html i have another link which change the content of div with foot id.
And i gets element ‘foot’ is undefined. It seems like the page in inner div tag cannot access the other elements in parent page.
Please help me out.
thanks in advance.