ZA. ZA. - 4 years ago 140
Javascript Question

How to get the title of HTML page with JavaScript?

How can I get the title of an HTML page with JavaScript?

Answer Source
<script type="text/javascript">
    alert(document.title);
</script>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download