I would like to open a new window with javascript and pass POST parameters to it. I've tried a lot of things.
My latest code looks like this so far, but not working (I haven't tried to pass post parameters but after it will work I can only add hidden input to make it work. I guess.):
<form method="POST" name="showgraph" onsubmit="javascript:window.open('graph.php', 'Graph', 'scrollbars=yes,titlebar=no,top=300,left=400');" action="javascript:void(0)">
<a href="#" onClick="document.showgraph.submit();">Show graph</a>
</form>
action="javascript:"withaction="graph.php", removeonsubmit=...and addtarget="Graph". The form will be opened in a new tab/window, depending on the user's preference.