addclass() プロパティを使用して可視性を切り替えずに、ホバリングしているボックスにボタンのみを表示できる方法はありますか。これを行う$(this).('.list_remove').fadeIn("200");
正しい方法は何ですか?
Jクエリ
(function(){
$('.list_remove').hide();
$(".boxes").hover(
function () {
$('.list_remove').fadeIn("200");
},
function () {
$('.list_remove').fadeOut("200");
}
);
})();
HTML
<div class="boxes">
<input type="button" class="list_remove" value="remove"> </div>
<div class="boxes">
<input type="button" class="list_remove" value="remove">
</div>