05-08-2008, 08:58 PM
|
#5 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 119
Thanks: 17
|
ok so you have 2 columns:
HTML Code:
<div id="col1"></div>
<div id="col2"></div>
in column1 you will have this link: <a href="loadpage('info.php')">click me</a>
And before this (maybe just after the jquery.js include) you should make this function:
HTML Code:
function loadpage(page)
{
$.get(page, function(data) {
$('#col2').html(data);
}
);
}
This should work, as it gets info.php page and puts it's contents into #col2.
|
|
|
|