May 11, 2011

How to find the Parent page controls in child page using javascript [ window.opener....]

<html>
<head>
<script type="text/javascript">
function openWin()
{
myWindow=window.open('','','width=200,height=100');
myWindow.document.write("This is 'myWindow'!");
myWindow.focus();
myWindow.opener.document.write("<p>This is the source window!</p>");
}
</script>
</head>
<body>

<input type="button" value="Open 'myWindow'" onclick="openWin()" />

</body>
</html>

3 comments:

buy persuasive essay said...

Also it is very important to remember that every Narrative essay should have a point, it means that in the final part of essay should be made some important conclusion based on the experience described.
buy the narrative essay

buy persuasive essay said...

It can be an experience or event from authors past life, also it can be recent or ongoing event. Narrative approach also can be used when we write about something that happened to somebody else, such as our relatives or very close friends.
buy narrative essays

Unknown said...

Thanks for the Awesome Information in the post

Latest Government Jobs 2016

Regards

Regards