possibility of passing php into new javascript window -
possibility of passing php into new javascript window -
i have 2 pages working with, refer first parent , sec child. using next code open kid window.
echo "<script language=\"javascript\"> <!-- function win1(ordernum) { var focuswindow = window.open(\"orderinfo.php?ordernum=\" + ordernum ,\"window2\",\"menubar=no,width=700,height=360,toolbar=no\"); focuswindow.focus(); } //--> </script>";
in add-on generated link
echo "<a href=\"javascript:win1(" . $row['ordernum'] . ")\" onmouseover=\"self.status='open window'; homecoming true;\"><b>" . $row['ordernum'] . "</b></a>";
my question this, possible append farther info kid window opening 3rd window? reason utilize php based telnet command gather info of devices. want able set list of commands in reference these orders on parent window , allow people click commands need , append kid window can select whole thing , paste ticketing system.
the reason considering 3rd window know php server side , cannot load info live javascript. thinking may possible have 3rd window opened, php info retrieved, append info child, close itself. cannot find references here on or google 1 resembling this.
look ajax. can create connections server , results without opening new windows.
javascript php
Comments
Post a Comment