php - can I load an external page without redirecting to it? -


i want run html page 1 , when finish loading, want make load html page 2 without redirecting page 2. run action there stay on page 1. i'm not sure if can using php, js or meta tags, there way.

please let me know. in advance!

you can through javascript, i'd call bad form.

the example below uses jquery brevity.

$(window).load(function(){    $('#dynamic').load('page2.html'); }); 

you must have container replace, in case we're using div id of 'dynamic'.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -