'all' Example
<html> <body> <input type="button" id="button" value="See the value of this button" onclick="alert(document.all('button').value);"> </body> </html>