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