I have an ajax request in order to load a php file, which essentially displays a pop-up. I use the code below:
mygetrequest.open("GET", "includes/content/bs/b_popup-reserve.php?bookingData=" + $(this).attr('id'), true);
It works great, but how could I close it in the same elegant way as I open it? Maybe something like the following?
Thanks in advance.