<html> <head> <script language="JavaScript"> function function1() { alert(navigator.appVersion); } </script> </head> <body> <input type="button" value="Version" onClick="function1()"> </body> </html>