# Javascript: Read Title of Another Page

**URL:** <https://forum.kirupa.com/t/javascript-read-title-of-another-page/178509>\
**Category:** web dev\
**Created:** [February 11, 2006, 5:25am UTC](https://forum.kirupa.com/t/javascript-read-title-of-another-page/178509 "2006-02-11T05:25:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yeldarb](https://avatars.discourse-cdn.com/v4/letter/y/51bf81/32.png) [@Yeldarb](https://forum.kirupa.com/u/Yeldarb)\
**Post date:** [February 11, 2006, 5:25am UTC](https://forum.kirupa.com/t/javascript-read-title-of-another-page/178509/1 "2006-02-11T05:25:20Z")

</div>

Is there a way to do this in Javascript? I have two pages, let’s call one js.htm and one title.htm. I want the javascript code in js.htm to print out the \<title\> of title.htm. Is there a way to do this?

Edit: And yes, it has to be Javascript.
