Hello. I made a form on the page, it gives PTP variables to the right php page.
<form method=post action='".$root."/(...тут путь...)/page.php'> <input type='hidden' name='first' value='$second'> <input type='hidden' name='second' value='$first'> <input type='submit' value='кноПКа' onclick='WindowOpen2()' style='cursor:pointer;'> </form> Everything is normal (if without a script), BUT there is a need to open the page in a new window with the specified parameters. I use JS through the window.open function:
<script language='javascript'> function WindowOpen2() { window.open('".$root."/(...тут путь...)/page.php','0x0','toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no, width=360, height=504, top=200, left=400') } </script> Here's how to get data from the above inputs into this window? Thanks in advance for your attention to the question - I.CaR®