'offsetParent' Example
<html> <body> <script language="JavaScript"> function function1() { alert(document.all.myText.offsetParent.tagName); } </script> <textarea id="myText"></textarea> <button onclick="function1();">Offset Parent</button> </body> </html>