# Open new window to a specific frame

**URL:** <https://forum.kirupa.com/t/open-new-window-to-a-specific-frame/67765>\
**Category:** Uncategorized\
**Created:** [October 19, 2004, 1:46pm UTC](https://forum.kirupa.com/t/open-new-window-to-a-specific-frame/67765 "2004-10-19T13:46:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monabizi](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@Monabizi](https://forum.kirupa.com/u/Monabizi)\
**Post date:** [October 19, 2004, 1:46pm UTC](https://forum.kirupa.com/t/open-new-window-to-a-specific-frame/67765/1 "2004-10-19T13:46:00Z")

</div>

hi,  
i got an html ( **“myHTML1.htm”** ) with with a button the “window.open” other window ( **myHTML2.htm"** ).

**"myHTML1.htm"** is inside a frameset and his frame id is “content”.

i do -

```auto
window.open(myHTML2.htm,"content")

```

so the **“myHTML2.htm”** will be open in the same frame as **“myHTML1.htm”**.

the problem is that it won’t work…  
do you know why? :kir:
