Remove Refresh Help Jquery
<p>I am trying to get the div recentactivity to only refresh when Remove is clicked</p>

<p>&lt; a href='#' onclick=\"javascript:remove_wall('$id')\">Remove</p>

<p>but when every i click on the link it keeps trying to refresh.
when the mouse go's over the tr a link comes up saying remove here is the code for that.</p>

<p>$(function() {</p>

<p>$("tr").hover(function() {   </p>

<pre><code>var id = this.id.split('_').pop();       
$("#remove_" + id).show();    
}, function() {       
var id = this.id.split('_').pop();       
$("#remove_" + id).hide();
</code></pre>

<p>});</p>

<p>});</p>

<p>Here is what happened when you click the link.</p>

<p>function remove_wall(id) {</p>

<p>var refresh = setInterval(function() { </p>

<p>$("#recent_activity").load("activity.php?random=" +unique_requestid());<br />
}, 1);</p>

<p>$("#contentArea").load("remove.php?wall_id="+id+"");</p>

<p>};</p>

<p>The remove in php is working perfectly fine.</p>
