我只是要抓住jquery和即时尝试写这样的事情,请注意puesdo代码在第三行。jQuery'这'为元素儿童
我该怎么写this
(如.tile
),然后选择tiles
框元素。
$(document).ready(function() {
$('.tile').hover(function() {
$('this->.box').stop().slideToggle("300");
});
});
我表现的问题的的jsfiddle这里 - http://jsfiddle.net/pudle/m6ZjH/2/
Google search [jquery children](https://www.google.co.uk/search?q=jquery+children) – George