1.jquery想局部刷新,先$(".movie-form").html("");
然后拼接代码
window.location.reload()刷新当前页面.
parent.location.reload()刷新父亲对象(用于框架)
opener.location.reload()刷新父窗口对象(用于单开窗口)
top.location.reload()刷新最顶端对象(用于多开窗口)
2.jquery设置移入移出/点击,动画效果
$(function(){
$('.edit').hover(function(){
$(this).removeClass("edit");
$(this).addClass("active");
},function(){
$(this).addClass("edit");
$(this).removeClass("active");
})
})