Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21464

How do I pass a query string when I use window.open when url is blank

From "Tony Johansson" <johansson.andersson@telia.com>
Newsgroups comp.lang.javascript
Subject How do I pass a query string when I use window.open when url is blank
Date 2013-09-29 18:01 +0200
Organization A noiseless patient Spider
Message-ID <l29isb$o9a$1@dont-email.me> (permalink)

Show all headers | View raw


I just want to pass name, tourist or business and seatnr as a query string 
to a new url that is blank.
If the url has a specified sring like test.html then I know how to do.
I have google for this but havent't found any example.
is it possible to do that.
function OpenWindow()
{
    myWindow = window.open("", '', 'width=300,height=200');
    myWindow.document.write("<p>This is 'myWindow'</p>");
    myWindow.focus();
}

//Tony 

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How do I pass a query string when I use window.open when url is blank "Tony Johansson" <johansson.andersson@telia.com> - 2013-09-29 18:01 +0200
  Re: How do I pass a query string when I use window.open when url is blank Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-09-29 17:58 +0100
  Re: How do I pass a query string when I use window.open when url is blank Danny <dann90038@gmail.com> - 2013-09-29 11:04 -0700

csiph-web