When I click a button it opens up a popup window, there I submit some values which will be processed under a server side code. My problem is, I need to close this window from there, I tried all the possible answers from the stackoverflow. any suggestions are appreciated
Here is the below code, which I used in the server side
echo '<script>alert("Task closed successfully"); window.close();
header("location: dispclosedtask.php?key=".$followuptaskid);