I want to run HTML Page 1 and when it finish loading, I want to make it load HTML Page 2 but without redirecting to Page 2. Just to run the action that is there but to stay on Page 1.
I’m not sure if you can do something like that using PHP, JS or META Tags, but there is probably a way.
Please let me know.
Thanks in advance!
You can do it through javascript, but i’d call it generally bad form.
The example below uses jQuery for brevity.
You must have a container to replace, in this case we’re using a div with an ID of ‘Dynamic’.