Is there a way to keep modal popup open after page refresh ?

Is there a way to keep modal popup open after page refresh ?

00rellana00rellana Posts: 2Questions: 2Answers: 0

I have a page that loads another page,
mainpage.php contains code below:
$(window).on('load', function() {
setInterval(function(){
$('#load_posts').load("showposts.php").fadeIn("slow");
}, 30000);

showposts.php shows modal popup when item clicked
How do I keep modal open after mainpage.php reloads showposts.php ?
Thank you in advance and any help or tips you can provide.

Answers

  • kthorngrenkthorngren Posts: 20,149Questions: 26Answers: 4,736
    edited June 2022

    For general Javascript questions please use Stack Overflow. The SO forum is meant for these questions and probably has threads which will provide you with some options. This forum is for Datatables specific questions.

    Kevin

Sign In or Register to comment.