dear SC Forum,
does anyone here know how to close a blank application when it shows as a modal?
AFAIK, blank application is a pure php file.
i only need a single link or button which i can click to close the modal and back to the previous application.
simply like that, but i don’t have any idea. i’ve searched such this article here, but now can not be accessed (perhaps my internet trouble).
here the code i found so far from this forum
echo "<a href='#' onclick="parent.location='../app/app.php'" >Close</a>";
error…doesn’t work properly.
i tried this also…only works when the blank application is open in another windows (not a modal).
echo( "<a href=\"#\" onclick=\"window.close(); return false\">Close</a>")