I cannot find out why this image source is not working. only last one is working fine(like 4 :text only).
Honestly speaking I'm not a jquery expert even don't have a bit idea about it and cannot find out what should I change.
if (reaction == 1) {
$("#like1post" + post + "user" + user).attr("src", "helloone.png");
$("#like2post" + post + "user" + user).attr("src", "hellotwo.png");
$("#like3post" + post + "user" + user).text("<img src='hellothree.png'>");
$("#like4post" + post + "user" + user).text("Like 4");
$("#likeCountPost" + post).text(data);
echo "<button id='like1post" . $post . "user" . $user . "' onclick='likeFunction(1, " . $post . ", " . $user . ")'>
<img src='logo/likedone.png' width='20'>
</button>";