Forum Moderators: open
I want to have a snippet of javascript on my page that will launch a new window in response to a button click or some other event. That new window should then display a page (from my site, in this case) but I want to pass in some 'parameters' via HTTP POST headers rather than through the URL -- so that some sensitive information is not visible to the user on an address bar.
Is this possible? Need more than a simple window.open, I'd think...
<form method="post" action="yourscript" onSubmit="return false;" target="_blank">
This line is the javascript that fires the POSTing of the form:
<select name="mySelect" onChange="this.form.submit();">
But it could just as easily by fired by any other onclick, onmouseover, etc.