Hey
I'm quite new in developing and I'm having some problems with passing url parameters.
I'm writing in vb.net (asp.net) and usually when creating an event, I'm using this:

dim paramName as string
paramName = request.querystring("CODE")....

...btn_onclick ()...
response.redirect("1.aspx?code=" & paramName)

The problem is that now I need to do the same, but open the new page in a new window.
I understand that I need to use window.open() and write some javascript
(I thought at first that I need target="_blank")
Since I'm not that familiar with javascript I don't really understand how to pass a parameter from the previous page to the new one



Thanks,
D.