I’ve prepended a div like
<div id="p">
lol
</div>
with $("#stream").prepend("<div id="p">lol</div>"); and then, when i click on a button, i wanna fadeOut it. $("#p").fadeOut(); doesn’t work, how to fix it?!
The prepend it’s because of an ajax post call, i prepend the response of the php (it insert mysql into the db and show the div with the post) but i can’t delete it. also OnHover for opacity doesn’t work D:
EDIT: it was a problem with ajax, sry
http://jsfiddle.net/LZxRd/5/