'offsetParent' Example : offsetParent : Node Operation JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Node Operation » offsetParent »

 

'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>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Node Operation
» offsetParent