# Query String + window.open=problem

**URL:** <https://forum.kirupa.com/t/query-string-window-open-problem/243908>\
**Category:** programming\
**Created:** [November 12, 2007, 3:20pm UTC](https://forum.kirupa.com/t/query-string-window-open-problem/243908 "2007-11-12T15:20:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![code\_sniper](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@code\_sniper](https://forum.kirupa.com/u/code_sniper)\
**Post date:** [November 12, 2007, 3:20pm UTC](https://forum.kirupa.com/t/query-string-window-open-problem/243908/1 "2007-11-12T15:20:31Z")

</div>

I am making a website.  
the url of the site is:  
[www.webpage.com/index.asp?cat=3](http://www.webpage.com/index.asp?cat=3)

I want to open a new page in a popup window. But its not working.

the code on the page:  
\<a href="#" onclick=“javascript:window.open(‘test.asp’,‘testpage’,‘width=400,height=200’)”\>test\</a\>

can someone pls tell me what is wrong and what is the fix.
