Window parent Property - Alert the location of the parent window when opening a new window: - Javascript Browser Object Model

Javascript examples for Browser Object Model:Window parent

Description

Window parent Property - Alert the location of the parent window when opening a new window:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<iframe id="myframe" src="http://java2s.com" width="100%" height="500" style="background:#f1f1f1;">
  <p>Your browser does not support iframes.</p>
</iframe>//  ww w  . j a v a2  s. c  om

</body>
</html>

Related Tutorials