- <body>
- <script type="text/javascript">
- function title_show()
- {
- window.alert(document.title);
- }
- </script>
- <form id="form1" name="form1" method="post" action="">
- <label>
- <input type="button" name="but" id="but" value="Button" onclick="title_show()" />
- </label>
- </form>
- </body>