My code is:
<div id="post">
<a href="./?act=remove&post_id=13" id="remove">Delete</a>
<b>Admin</b> says:
"Hi to all my frends!"
<br>
7 hours ago ·
<a id="like" href="./?act=like&id=13" title="No one likes">Like</a> ·
<a id="dislike" href="./?act=dislike&id=13" title="No one dislikes">Dislike</a>
</div>
I also have multiple posts like this one above… How can i make with jQuery that every time I “mouseover” #post, the #remove inside that #post appears?
First I think you want to use
class="post"andclass="remove"if you have multiple posts like that one. Then you can do it like this (the code on jsfiddle):Some jQuery functions you might want to look into: .on(), .mouseover(), .mouseout(), .hover().