# Re-direction of html using javascript

**URL:** <https://forum.kirupa.com/t/re-direction-of-html-using-javascript/165463>\
**Category:** Uncategorized\
**Created:** [October 11, 2005, 10:03am UTC](https://forum.kirupa.com/t/re-direction-of-html-using-javascript/165463 "2005-10-11T10:03:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jusko](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@jusko](https://forum.kirupa.com/u/jusko)\
**Post date:** [October 11, 2005, 10:03am UTC](https://forum.kirupa.com/t/re-direction-of-html-using-javascript/165463/1 "2005-10-11T10:03:26Z")

</div>

Hi!!  
I have a html file with a link to another html file. I need that after i press the link to the second html, that second html would redirect to a third html file automatically.  
I want to know what java script could i use and how i implement it in that second html file.  
Hope i made myself clear!!!  
thanks a lot!!  
cheers
