So I have this html : 

```
<td class="score_section">
    <div class="row collapse" align="center">                    
       <div class="upvotebutton" onclick="javascript: Upvote()">▲</div>
       <div class="votescore"> 40 </div>
       <div class="donwvotebutton" onclick="javascript: Downvote()">▼</div>
    </div>
</td>

```

This is part of a table of products , so more rows have this class "votescore" , and I have made a jQuery(ajax) function for downvote/upvote :

```
function Upvote(user_id, thread_id) {
    var vote = +1;
    $.ajax({
        type: "post",
        url: "Ajax/vote-o-matic.php",
        data: {user_id: user_id, thread_id: thread_id, vote: vote},
        success: function(res) {
            jquery(this).$('.votescore').html(res);
        }
    });
}

```

After a successful downvote or upvote to refresh the specific "votescore" div (the one that coresponds with the upvote/downvote buttons) with the incoming data from ajax.

Everything works ok only for when I click it refreshes all "votescore" divs , any ideas to fix or around this problem ?