'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> <button onclick="alert(document.all.myFrame.frameSpacing);">Frame Spacing</button> </body> </html>