Is it possible to submit a form into a new window (its ok, target parameter works) and I'd like load a page also into the window where I submitted the form.
I'd like to to this two event with one submit button.
Is this possible?
echo '<form name="lezaratlanok" action="blokk.php" method="post" target="_blank">';
echo '<input type="hidden" name="asztalkod" id="asztalkod" value="'.$_POST['asztalkod'].'">';
echo '<input type="hidden" name="print_mit" id="print_mit" value="blokk">';
echo '<input type="submit" style="height:30px;font-size:20px;background-color:#FFFF00;color:#FF0000;" value="Asztal lezárása, blokk készítése">';
echo '</form>';
I'd like to reload an index.php to the above form windows. The blokk.php called successfully, and load into new window.