D
|
Dale author 6/19/2006 |
I guess this might have been a stupid question. |
![]() |
Admin 6/20/2006 |
Dale, <input class="button" type="button" onclick="submit_form();" value="save and close"> <input type=hidden name="backtolist" value=""> <script language="javascript"> function submit_form() { if(!editform.onsubmit || editform.onsubmit()) { editform.backtolist.value="yes"; document.editform.submit(); } }
$message="<div class=message><<< "."Record updated"." >>></div>";
if(@$_POST["backtolist"]) { header("Location: ..._list.php?a=return"); return; } |
D
|
Dale author 6/20/2006 |
Perfect. Thankyou thankyou. |
D
|
Dale author 6/20/2006 |
Alexa, |
D
|
Dale author 6/21/2006 |
Solution found. I added functionality to the dynamic window created to run a script when closing if True is returned. |
D
|
drh 10/6/2006 |
Hello forum members, |
![]() |
Admin 10/9/2006 |
Dave, header("Location: mos_pcmacct_list.php?a=return");
?> <script language="javascript"> window.location = "mos_pcmacct_list.php?a=return"; </script> <?php |
D
|
drh 10/9/2006 |
Thanks Alexey, |