Help with Submit form. Loading results into content div
<p>I'm using this tab script from Dynamic Drive. Here's the URL...</p>

<p><a href="http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm" rel="nofollow">http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm</a></p>

<p>I have a page which has a search form for friends. When submitted I'd like the results to load into the content container.."countrydivcontainer" Basically here's my layout...</p>

<pre><code>&lt;table cellpadding='0' cellspacing='0' width='100%'&gt;
&lt;tr&gt;
&lt;td class='friends_left'&gt;

&lt;div id="countrydivcontainer" style="border:1px solid gray; width:450px; margin-bottom: 1em; padding: 10px"&gt;
&lt;!-- ajaxContent --&gt;
&lt;/div&gt;

&lt;/td&gt;

&lt;td class='friends_right' valign="top"&gt;

&lt;form action='user_friends.php' method='post' name='searchform'&gt;
&lt;input type='text' maxlength='100' style="width: 148px;" class='text' id="search" name='search' value='Search Friends' autocomplete="off"&gt;
&lt;/form&gt;

&lt;div id="countrytabs" class="shadetabs2"&gt;
&lt;div&gt;&lt;a href="friendsall.php" rel="countrycontainer"&gt;&lt;div class="shadewidth"&gt;All Friends&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="user_friends_requests.php" rel="countrycontainer"&gt;&lt;div class="shadewidth"&gt;Friend Requests&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="user_friends_requests_outgoing.php" rel="countrycontainer"&gt;&lt;div class="shadewidth"&gt;Outgoing Requests&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="phonebook.php" rel="countrycontainer"&gt;&lt;div class="shadewidth"&gt;Phonebook&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="invite.php" rel="countrycontainer"&gt;&lt;div class="shadewidth"&gt;Find Friends&lt;/div&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt; 

&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;


{literal}
&lt;script type="text/javascript"&gt;
&lt;!-- 
var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
//--&gt;
&lt;/script&gt;
{/literal}
</code></pre>

<p>Do we have to edit the actual form page? In this case "user_friends.php" Tried a few different things but can't get it to work, any help is much appreciated! Thanks :)</p>
