In php file am using javascript so how to achieve a JavaScript function that runs in the background even if the user navigates to another page.
I am using codeigniter3 and in that i want a javascript function which runs on background even if user navigate to another page so how can we achieve this.
New contributor
Pankaj Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.