From the demo page:
You can even load an external page without requiring the click of a link, by calling the function directly:
Code:
<script type="text/javascript">
ajaxpage('test.htm', 'rightcolumn') //load "test.htm" into "rightcolumn" DIV
</script>
Change the above scriptlet's parameters to your desired page's location and loading area's id. Place it in the body section of your 'top' page, after the loading area's markup, ex:
HTML Code:
<div id="myarea"></div>
<script type="text/javascript">
ajaxpage('myinitial.htm', 'myarea')
</script>
Bookmarks