jquery 添加id

$(this).attr('id', 'action');

如果父元素(加overflow:hidden)的直接子元素或者间接子元素有绝对定位或者相对定位,就给父元素加position:relative;