'frameBorder' Example : frameBorder « Javascript Properties « JavaScript Reference

'frameBorder' Example

    
<html>
<body>
<iframe id="myFrame" 
        src="http://www.java2s.com" 
        width="300" 
        frameborder="no" 
        framespacing="5">
</iframe>
<br>
<button onclick="alert(document.all.myFrame.frameBorder);">Frame Border</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'frameBorder' Syntax and Note
2.'frameBorder' Possible Values
3.'frameBorder' is applied to