Irishjugg
09-17-2008, 06:15 PM
I have a div called inner in which Im using the ajaxtabs script to load content dynamically.
The problem I am having is inside that actual div I have links which I want to load in that same inner div. I am using one of the many generic loading / fetching scripts available on the internet that allows you to specify a div to load into. The problem seems to be since I am trying to load into the div the links themselves are currently in.
How do I force the load to happen into the current div?
some code:
<div id="inner"> <!-- USED FOR PADDING LEFT -->
<h2>Welcome, Ed Suski!</h2> <table width="880">
<tr>
<td class="bordernews">
<div class="bordernewsheading"> Buddy-At-A-Glance</div>
<div class="bordernewsbody">
<table class=fresult>
<tr>
<td width="80">
<img src="dummy.png" width=70 alt="Pic" />
</td>
<td class=top>
<table width="100%" class=tinner>
<tr>
<td>
<a href="javascript:ajaxpagefetcher.load('inner', 'mybuddy.php?bid=1', false)" class=heading>joe buddy</a>
</td>
</tr>
<tr>
<td>
Interests: games
</td>
</tr>
<tr>
<td>
Hobbies:
</td>
</tr>
</table> </td>
</tr>
</table>
</div>
Any ideas?
The problem I am having is inside that actual div I have links which I want to load in that same inner div. I am using one of the many generic loading / fetching scripts available on the internet that allows you to specify a div to load into. The problem seems to be since I am trying to load into the div the links themselves are currently in.
How do I force the load to happen into the current div?
some code:
<div id="inner"> <!-- USED FOR PADDING LEFT -->
<h2>Welcome, Ed Suski!</h2> <table width="880">
<tr>
<td class="bordernews">
<div class="bordernewsheading"> Buddy-At-A-Glance</div>
<div class="bordernewsbody">
<table class=fresult>
<tr>
<td width="80">
<img src="dummy.png" width=70 alt="Pic" />
</td>
<td class=top>
<table width="100%" class=tinner>
<tr>
<td>
<a href="javascript:ajaxpagefetcher.load('inner', 'mybuddy.php?bid=1', false)" class=heading>joe buddy</a>
</td>
</tr>
<tr>
<td>
Interests: games
</td>
</tr>
<tr>
<td>
Hobbies:
</td>
</tr>
</table> </td>
</tr>
</table>
</div>
Any ideas?