I am loading data with the file $('#result').load('test.php') , which fully works correctly.
here is a screenshot of test.php 
now here is my uploaded file in lightbox: 
In my test.php file, I also upload another lightbox file with a click event. The lightbox is displayed correctly with the new downloaded file. here is the code to call lighbox:
jQuery('#wt_opp_coll .coun').click(function(){ jQuery(this).jpLightBox({ width: 500, height: 250, url: 'components/content/test_file.php'
with this, my new downloaded file test_file.php appears well in the lightbox, but my last downloaded test.php file disappears into the lightbox, as you see on the second screen, only the lightbox is not displayed in details in the background, as in the first screen version,
Please help me also terminate my last downloaded file ( test.php ).
NOTE. I also used the .load() function in lighbox to load the URL.
source share