16
rated 0 times
[
18]
[
2]
/ answers: 1 / hits: 40692
/ 13 Years ago, thu, august 11, 2011, 12:00:00
how can I open in a new window a php page and pass in some POST variable?
I am using jquery.
Thank you.
More From » jquery
how can I open in a new window a php page and pass in some POST variable?
I am using jquery.
Thank you.
I would suggest creating an invisible form in your HTML like this:
<form id=invisible_form action=new_window.php method=post target=_blank>
<input id=new_window_parameter_1 name=parameter type=hidden value=default>
</form>
..and then submitting it via jQuery:
$('#new_window_parameter_1').val('value');
$('#invisible_form').submit();