Q. Is there a way to post a variable to a javascript popup without using a submit?
I have 7 submits on a page, they all do their jobs ok as is except,
- All submits reset the form. Even if the function that the submit executes is just a view stockId (etc) function
- All submits enter data to the DB and shouldn't
I thought buy removing 6 of the 7 submits it may make coding this page easlier.
(i wish nested forms existed🙂
Any ideas?
Tia, Will
PS, I've tried the folloing and it didn;t work.
echo "<a href='".$_SERVER['PHP_SELF']."?action=view&stockId=".$stockId."','','scrollbars=yes,status=yes,windowX=10,windowY=10,width=440,height=570'>Word</a>";